feat: more filters component

This commit is contained in:
jialin
2026-04-08 18:54:06 +08:00
committed by jialin
parent c73609d155
commit 144914110a
3 changed files with 4 additions and 22 deletions
@@ -4,13 +4,13 @@ import pillButtonCss from './styles.less';
type Option = {
label: string;
value: string | number;
value: string | number | null;
icon?: React.ReactNode;
};
type Props = {
value?: string | number;
onChange?: (value: string | number | undefined) => void;
onChange?: (value: string | number | undefined | null) => void;
options: Option[];
disabled?: boolean;
variant?: 'filled' | 'outlined' | 'solid';