Skip to content

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.

Source

import { CommentFilterBar } from "@flanksource/clicky-ui/comments";
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
config* CommentConfig — —
filters* CommentFilters — —
onChange* (…) => void — —
statusCounts Record<string, number> — Optional per-status counts shown on the toggles.