rc-drawer
- Version 8.0.0
- Published
- 59.6 kB
- 5 dependencies
- MIT license
Install
npm i rc-drawer
yarn add rc-drawer
pnpm add rc-drawer
Overview
drawer component for react
Index
Variables
variable Drawer
const Drawer: React.FC<DrawerProps>;
Interfaces
interface DrawerProps
interface DrawerProps extends Omit<DrawerPopupProps, 'prefixCls' | 'inline' | 'scrollLocker'>, DrawerPanelEvents, DrawerPanelAccessibility {}
property classNames
classNames?: DrawerClassNames;
property destroyOnClose
destroyOnClose?: boolean;
property getContainer
getContainer?: PortalProps['getContainer'];
property onClose
onClose?: (e: React.MouseEvent | React.KeyboardEvent) => void;
property open
open?: boolean;
property panelRef
panelRef?: React.Ref<HTMLDivElement>;
property prefixCls
prefixCls?: string;
property styles
styles?: DrawerStyles;
Package Files (2)
Dependencies (5)
Dev Dependencies (28)
- @ant-design/icons
- @rc-component/father-plugin
- @testing-library/jest-dom
- @testing-library/react
- @types/classnames
- @types/jest
- @types/raf
- @types/react
- @types/react-dom
- @types/warning
- antd
- dumi
- eslint
- eslint-plugin-jest
- eslint-plugin-unicorn
- father
- glob
- husky
- less
- lint-staged
- np
- prettier
- rc-test
- react
- react-dom
- stylelint
- stylelint-config-standard-less
- 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-drawer
.
- Markdown[](https://www.jsdocs.io/package/rc-drawer)
- HTML<a href="https://www.jsdocs.io/package/rc-drawer"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3286 ms. - Missing or incorrect documentation? Open an issue for this package.