UNPKG

@penaprieto/design-system

Version:

Multi-brand React design system with design tokens from Figma

24 lines 750 B
import React from 'react'; import './Drawer.css'; export type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom'; export type DrawerSize = 'small' | 'medium' | 'large'; export interface DrawerProps { /** Si el drawer está abierto */ open: boolean; /** Callback al cerrar */ onClose: () => void; /** Título del drawer */ title?: string; /** Posición del drawer */ placement?: DrawerPlacement; /** Tamaño del drawer */ size?: DrawerSize; /** Contenido del drawer */ children: React.ReactNode; /** Footer del drawer */ footer?: React.ReactNode; /** Clase CSS adicional */ className?: string; } export declare const Drawer: React.FC<DrawerProps>; //# sourceMappingURL=Drawer.d.ts.map