UNPKG

flowbite-qwik

Version:

Official Qwik components built for Flowbite and Tailwind CSS

19 lines (18 loc) 606 B
import { Component, PropsOf, QRL, Signal, ClassList } from '@builder.io/qwik'; import { DrawerPosition } from './drawer-types'; import type { IconProps } from 'flowbite-qwik-icons'; export type DrawerTheme = { header?: ClassList; leftRightWidth?: ClassList; }; export type DrawerProps = PropsOf<'div'> & { 'bind:open': Signal<boolean>; title: string; titleIcon?: Component<IconProps>; position?: DrawerPosition; backdrop?: boolean; preventBodyScroll?: boolean; onClose$?: QRL<() => void>; theme?: DrawerTheme; }; export declare const Drawer: Component<DrawerProps>;