Skip to content

Commit

Permalink
[Checkbox] Export type CheckedState (#2984)
Browse files Browse the repository at this point in the history
* Add CheckedState to exported types

* Track version
  • Loading branch information
rczobor authored Jun 28, 2024
1 parent 7e8f720 commit 9a5e145
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .yarn/versions/7c8a7cf4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
releases:
"@radix-ui/react-checkbox": patch

declined:
- primitives
2 changes: 1 addition & 1 deletion packages/react/checkbox/src/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ export {
Root,
Indicator,
};
export type { CheckboxProps, CheckboxIndicatorProps };
export type { CheckboxProps, CheckboxIndicatorProps, CheckedState };
2 changes: 1 addition & 1 deletion packages/react/checkbox/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export {
Root,
Indicator,
} from './Checkbox';
export type { CheckboxProps, CheckboxIndicatorProps } from './Checkbox';
export type { CheckboxProps, CheckboxIndicatorProps, CheckedState } from './Checkbox';

0 comments on commit 9a5e145

Please sign in to comment.