1 | import * as React from 'react';
|
2 | export declare enum ToolbarItemVariant {
|
3 | separator = "separator",
|
4 | 'bulk-select' = "bulk-select",
|
5 | 'overflow-menu' = "overflow-menu",
|
6 | pagination = "pagination",
|
7 | 'search-filter' = "search-filter",
|
8 | label = "label",
|
9 | 'chip-group' = "chip-group",
|
10 | 'expand-all' = "expand-all"
|
11 | }
|
12 | export interface ToolbarItemProps extends React.HTMLProps<HTMLDivElement> {
|
13 |
|
14 | className?: string;
|
15 |
|
16 | variant?: ToolbarItemVariant | 'bulk-select' | 'overflow-menu' | 'pagination' | 'search-filter' | 'label' | 'chip-group' | 'separator' | 'expand-all';
|
17 |
|
18 | visibility?: {
|
19 | default?: 'hidden' | 'visible';
|
20 | md?: 'hidden' | 'visible';
|
21 | lg?: 'hidden' | 'visible';
|
22 | xl?: 'hidden' | 'visible';
|
23 | '2xl'?: 'hidden' | 'visible';
|
24 | };
|
25 |
|
26 | visiblity?: {
|
27 | default?: 'hidden' | 'visible';
|
28 | md?: 'hidden' | 'visible';
|
29 | lg?: 'hidden' | 'visible';
|
30 | xl?: 'hidden' | 'visible';
|
31 | '2xl'?: 'hidden' | 'visible';
|
32 | };
|
33 |
|
34 | alignment?: {
|
35 | default?: 'alignRight' | 'alignLeft';
|
36 | md?: 'alignRight' | 'alignLeft';
|
37 | lg?: 'alignRight' | 'alignLeft';
|
38 | xl?: 'alignRight' | 'alignLeft';
|
39 | '2xl'?: 'alignRight' | 'alignLeft';
|
40 | };
|
41 |
|
42 | spacer?: {
|
43 | default?: 'spacerNone' | 'spacerSm' | 'spacerMd' | 'spacerLg';
|
44 | md?: 'spacerNone' | 'spacerSm' | 'spacerMd' | 'spacerLg';
|
45 | lg?: 'spacerNone' | 'spacerSm' | 'spacerMd' | 'spacerLg';
|
46 | xl?: 'spacerNone' | 'spacerSm' | 'spacerMd' | 'spacerLg';
|
47 | '2xl'?: 'spacerNone' | 'spacerSm' | 'spacerMd' | 'spacerLg';
|
48 | };
|
49 |
|
50 | widths?: {
|
51 | default?: string;
|
52 | sm?: string;
|
53 | md?: string;
|
54 | lg?: string;
|
55 | xl?: string;
|
56 | '2xl'?: string;
|
57 | };
|
58 |
|
59 | id?: string;
|
60 |
|
61 | isAllExpanded?: boolean;
|
62 |
|
63 | children?: React.ReactNode;
|
64 | }
|
65 | export declare const ToolbarItem: React.FunctionComponent<ToolbarItemProps>;
|
66 |
|
\ | No newline at end of file |