UNPKG

@atlaskit/table-tree

Version:

A table tree is an expandable table for showing nested hierarchies of information.

22 lines (21 loc) • 564 B
import React from 'react'; interface ChevronProps { /** * @default 'Expand' */ expandLabel?: string; /** * @default 'Collapse' */ collapseLabel?: string; isExpanded?: boolean; ariaControls?: string; onExpandToggle?: (e: React.MouseEvent) => void; rowId: string; extendedLabel?: string; } /** * Internal chevron component. */ declare const Chevron: ({ isExpanded, ariaControls, collapseLabel, expandLabel, rowId, extendedLabel, onExpandToggle, }: ChevronProps) => React.JSX.Element; export default Chevron;