Skip to content

TreeGroupHeader

API reference and demos for TreeGroupHeader.

Source

import { TreeGroupHeader } from "@flanksource/clicky-ui/data";
Default · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
className string — Classes applied to the button.
count number — Optional trailing count.
icon string | ComponentClass<any, any> | FunctionComponent<any> — Optional leading icon.
onToggle* (…) => void — Called when the header is clicked.
open* boolean — Current expanded state.
title* ReactNode — Header title.