| 1 |
import { Component } from 'react'; |
| 2 |
export interface ToolbarContentProps extends React.HTMLProps<HTMLDivElement> { |
| 3 |
/** Classes applied to root element of the data toolbar content row */ |
| 4 |
className?: string; |
| 5 |
/** Visibility at various width breakpoints. */ |
| 6 |
visibility?: { |
| 7 |
default?: 'hidden' | 'visible'; |
| 8 |
md?: 'hidden' | 'visible'; |
| 9 |
lg?: 'hidden' | 'visible'; |
| 10 |
xl?: 'hidden' | 'visible'; |
| 11 |
'2xl'?: 'hidden' | 'visible'; |
| 12 |
}; |
| 13 |
/** Visibility at various height breakpoints. */ |
| 14 |
visibilityAtHeight?: { |
| 15 |
default?: 'hidden' | 'visible'; |
| 16 |
md?: 'hidden' | 'visible'; |
| 17 |
lg?: 'hidden' | 'visible'; |
| 18 |
xl?: 'hidden' | 'visible'; |
| 19 |
'2xl'?: 'hidden' | 'visible'; |
| 20 |
}; |
| 21 |
/** Value to set for content wrapping at various breakpoints */ |
| 22 |
rowWrap?: { |
| 23 |
default?: 'wrap' | 'nowrap'; |
| 24 |
sm?: 'wrap' | 'nowrap'; |
| 25 |
md?: 'wrap' | 'nowrap'; |
| 26 |
lg?: 'wrap' | 'nowrap'; |
| 27 |
xl?: 'wrap' | 'nowrap'; |
| 28 |
'2xl'?: 'wrap' | 'nowrap'; |
| 29 |
}; |
| 30 |
/** Vertical alignment of children */ |
| 31 |
alignItems?: 'start' | 'center' | 'baseline' | 'default'; |
| 32 |
/** Content to be rendered as children of the content row */ |
| 33 |
children?: React.ReactNode; |
| 34 |
/** Flag indicating if a data toolbar toggle group's expandable content is expanded */ |
| 35 |
isExpanded?: boolean; |
| 36 |
/** Optional callback for clearing all filters in the toolbar */ |
| 37 |
clearAllFilters?: () => void; |
| 38 |
/** Flag indicating that the clear all filters button should be visible */ |
| 39 |
showClearFiltersButton?: boolean; |
| 40 |
/** Text to display in the clear all filters button */ |
| 41 |
clearFiltersButtonText?: string; |
| 42 |
/** Id of the parent Toolbar component */ |
| 43 |
toolbarId?: string; |
| 44 |
} |
| 45 |
declare class ToolbarContent extends Component<ToolbarContentProps> { |
| 46 |
static displayName: string; |
| 47 |
private expandableContentRef; |
| 48 |
private labelContainerRef; |
| 49 |
private static currentId; |
| 50 |
static defaultProps: ToolbarContentProps; |
| 51 |
render(): import("react/jsx-runtime").JSX.Element; |
| 52 |
} |
| 53 |
export { ToolbarContent }; |
| 54 |
//# sourceMappingURL=ToolbarContent.d.ts.map |