Home > @uniformdev/design-system > LabelsQuickFilter
LabelsQuickFilter() function
A reusable quick filter component for selecting labels with swatch colors. Supports flat labels and grouped labels with nested menus.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { buttonText, addButtonText, items, selectedIds, onSelect, onDeselect, disabled, testId, totalResults, onCreateLabel, withoutPortal, maxContainerSize, onOpen, onClose, menuPlacement, menuGetAnchorRect, menuUpdatePosition, maxCount, } | LabelsQuickFilterProps |
Returns:
_emotion_react_jsx_runtime.JSX.Element
Example
<>