UNPKG

@rtbjs/use-state

Version:

`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management

8 lines (7 loc) 280 B
import { FunctionComponent } from 'react'; import { ModalProps } from 'antd/lib/modal'; export interface DraggableModalProps extends ModalProps { initialWidth?: number; initialHeight?: number; } export declare const DraggableModal: FunctionComponent<DraggableModalProps>;