From f2e4a1348f3fd1b0dca308f5bd997ff5149941c0 Mon Sep 17 00:00:00 2001 From: rczobor Date: Wed, 26 Jun 2024 08:41:18 +0100 Subject: [PATCH] Add CheckedState to exported types --- packages/react/checkbox/src/Checkbox.tsx | 2 +- packages/react/checkbox/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/checkbox/src/Checkbox.tsx b/packages/react/checkbox/src/Checkbox.tsx index 3f463691a9..a01325edd0 100644 --- a/packages/react/checkbox/src/Checkbox.tsx +++ b/packages/react/checkbox/src/Checkbox.tsx @@ -227,4 +227,4 @@ export { Root, Indicator, }; -export type { CheckboxProps, CheckboxIndicatorProps }; +export type { CheckboxProps, CheckboxIndicatorProps, CheckedState }; diff --git a/packages/react/checkbox/src/index.ts b/packages/react/checkbox/src/index.ts index 28294e0635..17263d5cff 100644 --- a/packages/react/checkbox/src/index.ts +++ b/packages/react/checkbox/src/index.ts @@ -8,4 +8,4 @@ export { Root, Indicator, } from './Checkbox'; -export type { CheckboxProps, CheckboxIndicatorProps } from './Checkbox'; +export type { CheckboxProps, CheckboxIndicatorProps, CheckedState } from './Checkbox';