@rkosafo/cai.components
Version:
This package is under development and not ready for public use.
38 lines (37 loc) • 930 B
TypeScript
import { type DrawerProps } from '../../index.js';
/**
* ## Props
* @prop children
* @prop onaction = () => true
* @prop oncancel
* @prop onsubmit
* @prop ontoggle
* @prop form = false
* @prop hidden = $bindable()
* @prop activateClickOutside = true
* @prop position
* @prop width
* @prop size // NEW: Added size prop documentation
* @prop backdrop = true
* @prop backdropClass
* @prop placement = "left"
* @prop class: className
* @prop classes
* @prop transitionParams
* @prop transitionType = fly
* @prop bodyScrolling = false
* @prop dismissable = true
* @prop closeBtnClass
* @prop headerClass
* @prop bodyClass
* @prop footerClass
* @prop header
* @prop footer
* @prop title
* @prop permanent = false
* @prop autoclose = false
* @prop ...restProps
*/
declare const Drawer: import("svelte").Component<DrawerProps, {}, "hidden">;
type Drawer = ReturnType<typeof Drawer>;
export default Drawer;