We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 771ed87 commit 4f1c6deCopy full SHA for 4f1c6de
packages/spindle-ui/src/ButtonSwitch/design-doc.md
@@ -23,7 +23,7 @@
23
value: 'option2',
24
},
25
]}
26
- onChange={(value) => console.log(value)}
+ onClick={(value) => console.log(value)}
27
/>
28
```
29
@@ -38,7 +38,7 @@
38
- Surface Tertiary (背景色)
39
- Text Medium Emphasis (テキスト色)
40
- Surface Quaternary (ホバー時の背景色)
41
-- Surface Primary (選択時の背景色)
+- Surface Accent Primary (選択時の背景色)
42
- Text High Emphasis Inverse (選択時のテキスト色)
43
- Border Row Empasis (中央のボーダー色)
44
@@ -51,7 +51,7 @@ type Props = {
51
label: string;
52
value: string;
53
}[];
54
- onChange: (value: string) => void;
+ onClick?: (value: string) => void;
55
};
56
57
0 commit comments