DensitySwitcher
API reference and demos for DensitySwitcher.
Import
Section titled “Import”import { DensitySwitcher } from "@flanksource/clicky-ui/components";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 root wrapper. |
menuClassName |
string |
— | Classes applied to the popup menu. |
triggerClassName |
string |
— | Classes applied to the icon trigger button. |