UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

46 lines 1.84 kB
import { Component } from 'react'; export interface ToolbarContentProps extends React.HTMLProps<HTMLDivElement> { /** Classes applied to root element of the data toolbar content row */ className?: string; /** Visibility at various breakpoints. */ visibility?: { default?: 'hidden' | 'visible'; md?: 'hidden' | 'visible'; lg?: 'hidden' | 'visible'; xl?: 'hidden' | 'visible'; '2xl'?: 'hidden' | 'visible'; }; /** Value to set for content wrapping at various breakpoints */ rowWrap?: { default?: 'wrap' | 'nowrap'; sm?: 'wrap' | 'nowrap'; md?: 'wrap' | 'nowrap'; lg?: 'wrap' | 'nowrap'; xl?: 'wrap' | 'nowrap'; '2xl'?: 'wrap' | 'nowrap'; }; /** Vertical alignment of children */ alignItems?: 'start' | 'center' | 'baseline' | 'default'; /** Content to be rendered as children of the content row */ children?: React.ReactNode; /** Flag indicating if a data toolbar toggle group's expandable content is expanded */ isExpanded?: boolean; /** Optional callback for clearing all filters in the toolbar */ clearAllFilters?: () => void; /** Flag indicating that the clear all filters button should be visible */ showClearFiltersButton?: boolean; /** Text to display in the clear all filters button */ clearFiltersButtonText?: string; /** Id of the parent Toolbar component */ toolbarId?: string; } declare class ToolbarContent extends Component<ToolbarContentProps> { static displayName: string; private expandableContentRef; private labelContainerRef; private static currentId; static defaultProps: ToolbarContentProps; render(): import("react/jsx-runtime").JSX.Element; } export { ToolbarContent }; //# sourceMappingURL=ToolbarContent.d.ts.map