type.d.ts 750 B

1234567891011121314151617181920212223242526272829303132
  1. import { ButtonProps } from '../button/index';
  2. export interface TdFabProps {
  3. buttonProps?: {
  4. type: ObjectConstructor;
  5. value?: ButtonProps;
  6. };
  7. draggable?: {
  8. type: null;
  9. value?: boolean | FabDirectionEnum;
  10. };
  11. icon?: {
  12. type: StringConstructor;
  13. value?: string;
  14. };
  15. style?: {
  16. type: StringConstructor;
  17. value?: string;
  18. };
  19. text?: {
  20. type: StringConstructor;
  21. value?: string;
  22. };
  23. usingCustomNavbar?: {
  24. type: BooleanConstructor;
  25. value?: boolean;
  26. };
  27. yBounds?: {
  28. type: ArrayConstructor;
  29. value?: Array<string | number>;
  30. };
  31. }
  32. export declare type FabDirectionEnum = 'all' | 'vertical' | 'horizontal';