@groupeactual/ui-kit 1.7.9 → 1.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -324,15 +324,18 @@ interface ModalProps extends Omit<ModalProps$1, 'component' | 'open' | 'classNam
324
324
  open: boolean;
325
325
  title?: string;
326
326
  size?: 'small' | 'large';
327
- component: ReactNode | null;
328
327
  footer?: ReactNode | null;
329
328
  cardProps?: Partial<CardProps>;
330
329
  className?: string;
331
330
  icon?: IconDefinition;
332
331
  onClose?: () => void;
333
332
  }
333
+ interface DrawerProps extends Omit<ModalProps, 'icon'> {
334
+ titleLeftComponent?: ReactNode;
335
+ hideCloseButton?: boolean;
336
+ }
334
337
 
335
- declare const Drawer: ({ title, open, onClose, component, footer, cardProps, size, ...props }: Omit<ModalProps, "withHeaderDivider" | "icon">) => React.JSX.Element;
338
+ declare const Drawer: ({ title, open, hideCloseButton, titleLeftComponent, footer, cardProps, size, children, onClose, ...props }: DrawerProps) => React.JSX.Element;
336
339
 
337
340
  declare const Dialog: ({ title, open, onClose, children, icon, ...props }: Omit<ModalProps, "footer" | "cardProps" | "size" | "component">) => React.JSX.Element;
338
341