DensityValueProvider
Provide a density value to descendants without owning the storage / setter. Useful when a component (e.g. DataTable) already manages density via its own state and just needs leaf cells like TagList to read the active value via {@link useDensityValue }. Calls to setDensity from descendants are ignored — the host component controls density externally.
Import
Section titled “Import”import { DensityValueProvider } from "@flanksource/clicky-ui/hooks";No dedicated Storybook demo is available for this component yet.
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 |
|---|---|---|---|
density* |
enum |
— | — |