UNPKG

@onesy/ui-react

Version:
25 lines (24 loc) 747 B
import React from 'react'; import { IBaseElement, IElement, IPropsAny, IElementReference } from '../types'; export declare type IWidgetsValue = { open: (value?: string) => void; openAll: () => void; close: (value?: string) => void; closeAll: () => void; }; export declare type IWidgets = IBaseElement & { widgets?: IElement; position?: 'top' | 'bottom'; move?: boolean; fixed?: boolean; onOpen?: (value: string) => any; onOpenAll?: () => any; onClose?: (value: string) => any; onCloseAll?: () => any; SpeedDialProps?: IPropsAny; MoveProps?: IPropsAny; Icon?: IElementReference; IconCloseItem?: IElementReference; }; declare const Widgets: React.FC<IWidgets>; export default Widgets;