CommentFilterBar
Filter controls for a comment list: status toggle pills, a multi-select per configured facet, and a clear action. Fully controlled via filters / onChange; pair with applyCommentFilters to filter the data.
Import
Section titled “Import”import { CommentFilterBar } from "@flanksource/clicky-ui/comments";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 |
|---|---|---|---|
config* |
CommentConfig |
— | — |
filters* |
CommentFilters |
— | — |
onChange* |
(…) => void |
— | — |
statusCounts |
Record<string, number> |
— | Optional per-status counts shown on the toggles. |