import { SpaceProps, LayoutProps, ColorProps } from 'styled-system';
/**
* Props for Drawer component. Apart from those described below it also extends all
* {@link SpaceProps}.
*
* @alias DrawerProps
* @extends SpaceProps
* @extends LayoutProps
* @extends ColorProps
* @memberof Drawer
*/
export type DrawerProps = SpaceProps & LayoutProps & ColorProps & {
/** Indicates if drawer should be hidden */
isHidden?: boolean;
/**
* Drawer variant
*/
variant?: 'filter';
};
/**
* @classdesc
*
*
*
* Drawer component renders a huge side area where {@link BaseActionComponent} renders
* all actions where {@link Action.showInDrawer} is set to true.
*
* You probably don't want to use it directly in your actions, but if you decide to set
* `showInDrawer` to true you will probably want to use `DrawerContent` or `DrawerFooter`
* components.
*
* All these components: Drawer, DrawerContent and Drawer Footer extends {@link SpaceProps}.
*
* ### Usage
*
* ```javascript
* import { Drawer, DrawerProps, DrawerContent, DrawerFooter } from '@adminjs/design-system'
* ```
*
* @component
* @subcategory Molecules
* @hideconstructor
* @see DrawerProps
* @see {@link https://storybook.adminjs.co/?path=/story/designsystem-molecules-drawer--default Storybook}
* @example
* return (
*
*
*
*
*
* Edit
*
*
*
*
*
*
*
*
*
*
*
*
* )
*
* @section design-system
*/
declare const Drawer: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, SpaceProps>, string | number | symbol> & LayoutProps>> & ColorProps>, string | number | symbol> & {
/** Indicates if drawer should be hidden */
isHidden?: boolean | undefined;
/**
* Drawer variant
*/
variant?: "filter" | undefined;
}, never>;
export { Drawer };
export default Drawer;