From 0c39d8f500c342d232fbccd3383ae34c0bdd2140 Mon Sep 17 00:00:00 2001 From: Nikhil Tomar <63502271+2nikhiltom@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:57:31 +0530 Subject: [PATCH] fix: add Index.ts to Checkbox Group (#17708) * fix: rename index.js to index.ts * fix: exports types --- .../react/src/components/CheckboxGroup/{index.js => index.ts} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename packages/react/src/components/CheckboxGroup/{index.js => index.ts} (63%) diff --git a/packages/react/src/components/CheckboxGroup/index.js b/packages/react/src/components/CheckboxGroup/index.ts similarity index 63% rename from packages/react/src/components/CheckboxGroup/index.js rename to packages/react/src/components/CheckboxGroup/index.ts index 9efb134e6195..6864099d6cc8 100644 --- a/packages/react/src/components/CheckboxGroup/index.js +++ b/packages/react/src/components/CheckboxGroup/index.ts @@ -6,6 +6,6 @@ */ import CheckboxGroup from './CheckboxGroup'; - +import { type CheckboxGroupProps, type CustomType } from './CheckboxGroup'; export default CheckboxGroup; -export { CheckboxGroup }; +export { CheckboxGroup, type CheckboxGroupProps, type CustomType };