UNPKG

grepsr-ui-elements

Version:

37 lines (36 loc) 1.06 kB
import PropTypes from "prop-types"; import { ReactNode } from "react"; interface DrawerProps { open?: boolean | any; anchor: "bottom" | "left" | "right" | "top"; hideBackdrop?: boolean; children?: ReactNode; sx?: any; className?: any; onClose?: () => void; onClick?: () => void; closeIconNode?: ReactNode; isCloseIcon?: boolean; color: string | "primary" | "success" | "error" | "info" | "warning" | "inherit"; variant: "contained" | "outlined" | "text"; size: "small" | "medium" | "large"; disabled?: boolean; drawerSidebarTitle?: string | any; } export { DrawerProps }; declare const GrepsrDrawer: { (props: DrawerProps): JSX.Element; defaultProps: { anchor: string; color: string; variant: string; size: string; }; propTypes: { anchor: PropTypes.Validator<string>; color: PropTypes.Validator<string>; size: PropTypes.Validator<string>; variant: PropTypes.Validator<string>; }; }; export default GrepsrDrawer;