import { DialogProps } from '../dialog'
import { SystemProps } from '../system'
import { ThemingProps } from '../theme'

export 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
  }
