rc-dialog
- Version 9.6.0
- Published
- 77.4 kB
- 5 dependencies
- MIT license
Install
npm i rc-dialog
yarn add rc-dialog
pnpm add rc-dialog
Overview
dialog ui component for react
Index
Variables
Type Aliases
Variables
variable DialogWrap
const DialogWrap: React.FC<IDialogPropTypes>;
variable Panel
const Panel: React.ForwardRefExoticComponent<any>;
Type Aliases
type DialogProps
type IDialogPropTypes = { className?: string; keyboard?: boolean; style?: CSSProperties; mask?: boolean; children?: React.ReactNode; afterClose?: () => any; afterOpenChange?: (open: boolean) => void; onClose?: (e: SyntheticEvent) => any; closable?: | boolean | ({ closeIcon?: React.ReactNode; disabled?: boolean; } & React.AriaAttributes); maskClosable?: boolean; visible?: boolean; destroyOnClose?: boolean; mousePosition?: { x: number; y: number; } | null; title?: ReactNode; footer?: ReactNode; transitionName?: string; maskTransitionName?: string; animation?: any; maskAnimation?: any; wrapStyle?: Record<string, any>; bodyStyle?: Record<string, any>; maskStyle?: Record<string, any>; prefixCls?: string; wrapClassName?: string; width?: string | number; height?: string | number; zIndex?: number; bodyProps?: any; maskProps?: any; rootClassName?: string; classNames?: ModalClassNames; styles?: ModalStyles; wrapProps?: any; getContainer?: GetContainer | false; closeIcon?: ReactNode; modalRender?: (node: ReactNode) => ReactNode; forceRender?: boolean; focusTriggerAfterClose?: boolean; panelRef?: React.Ref<HTMLDivElement>;};
Package Files (4)
Dependencies (5)
Dev Dependencies (34)
- @rc-component/father-plugin
- @testing-library/jest-dom
- @testing-library/react
- @types/enzyme
- @types/jest
- @types/keyv
- @types/react
- @types/react-dom
- @umijs/fabric
- bootstrap
- cheerio
- cross-env
- dumi
- enzyme
- enzyme-adapter-react-16
- enzyme-to-json
- eslint
- eslint-config-airbnb
- eslint-plugin-react
- father
- gh-pages
- glob
- husky
- less
- lint-staged
- np
- prettier
- rc-drawer
- rc-select
- rc-test
- react
- react-dom
- react-draggable
- typescript
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rc-dialog
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rc-dialog)
- HTML<a href="https://www.jsdocs.io/package/rc-dialog"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3407 ms. - Missing or incorrect documentation? Open an issue for this package.