@fileverse/ui 4.0.9-patch → 4.0.9-patch-2

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.
@@ -248,7 +248,7 @@ export declare const DynamicDrawer: ({ open, onOpenChange, title, titleIcon, con
248
248
  export declare interface DynamicDrawerProps {
249
249
  open: boolean;
250
250
  onOpenChange: (open: boolean) => void;
251
- title: string;
251
+ title?: string;
252
252
  titleIcon?: string;
253
253
  description?: string;
254
254
  content?: default_2.ReactNode;
@@ -281,7 +281,7 @@ export declare interface DynamicModalProps {
281
281
  content?: default_2.ReactNode;
282
282
  primaryAction?: {
283
283
  label: string;
284
- onClick?: () => void;
284
+ onClick?: () => void | Promise<void>;
285
285
  variant?: "default" | "secondary" | "ghost" | "danger";
286
286
  className?: string;
287
287
  isLoading?: boolean;