@myunisoft/design-system 1.3.4-rev157-2types → 1.3.4

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.
@@ -0,0 +1,30 @@
1
+ import { GridExportFormat } from "@mui/x-data-grid-pro";
2
+ /**
3
+ * Props for ExportContent component
4
+ */
5
+ export interface ExportContentProps {
6
+ /**
7
+ * Available export formats
8
+ */
9
+ exportFormats: GridExportFormat[];
10
+ /**
11
+ * Handler function called when export is triggered
12
+ * @param format - Selected export format
13
+ */
14
+ onExport: (format: GridExportFormat) => void;
15
+ /**
16
+ * Optional title for the export dialog
17
+ * @default 'Export'
18
+ */
19
+ title?: string;
20
+ /**
21
+ * Optional label for format selection
22
+ * @default 'Select format:'
23
+ */
24
+ selectFormatLabel?: string;
25
+ /**
26
+ * Optional label for the export button
27
+ * @default 'Export'
28
+ */
29
+ exportButtonLabel?: string;
30
+ }