File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
libs/@hashintel/ds-components/src/components/Checkbox Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 11import { Checkbox as BaseCheckbox } from "@ark-ui/react/checkbox" ;
22import { css } from "@hashintel/ds-helpers/css" ;
33
4+
45const CHECK_ICON = (
56 < svg
67 width = "12"
78 height = "12"
89 viewBox = "0 0 12 12"
910 fill = "none"
1011 xmlns = "http://www.w3.org/2000/svg"
12+ aria-hidden = "true"
1113 >
1214 < path
1315 d = "M10 3L4.5 8.5L2 6"
@@ -26,6 +28,7 @@ const INDETERMINATE_ICON = (
2628 viewBox = "0 0 12 12"
2729 fill = "none"
2830 xmlns = "http://www.w3.org/2000/svg"
31+ aria-hidden = "true"
2932 >
3033 < path
3134 d = "M3 6H9"
@@ -36,6 +39,7 @@ const INDETERMINATE_ICON = (
3639 </ svg >
3740) ;
3841
42+
3943export interface CheckboxProps {
4044 checked ?: boolean | "indeterminate" ;
4145 defaultChecked ?: boolean | "indeterminate" ;
You can’t perform that action at this time.
0 commit comments