@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
14 lines (13 loc) • 691 B
TypeScript
import { ThemingProps } from "../theme/types.js";
import { SystemProps } from "../system/system.js";
import { DialogProps } from "../dialog/dialog.types.js";
//#region src/drawer/drawer.types.d.ts
type DrawerProps = SystemProps & ThemingProps<'Drawer'> & {
/** The props being passed into the internal Dialog component. */dialogProps?: DialogProps; /** Determines if the drawer is on the left side of the screen. @default false */
isLeft?: boolean; /** Determines if the drawer is open. @default false */
isOpen?: boolean; /** Function to be called when the drawer is closed */
onClose?: () => void;
};
//#endregion
export { DrawerProps };
//# sourceMappingURL=drawer.types.d.ts.map