Description
The CheckBox component no longer supports the is prop (was previously inherited from Box).
Storybook still had a control for is, causing TypeScript errors and Storybook crashes.
Steps to Reproduce
-
Open Storybook for Inputs → CheckBox
-
Try to use the is control in Storybook
-
Observe TypeScript error:
type 'string' is not assignable to type 'ElementType | undefined'
-
Component still works, but Storybook shows errors and crashes when is is selected.
Expected Behavior
- No TypeScript errors
- Storybook loads cleanly
- CheckBox works normally
Actual Behavior
- TypeScript error when passing
is
- Storybook crash or object showing instead of proper element
Proposed Solution
- Remove
is control from Storybook for CheckBox
- Keep CheckBoxProps clean:
Omit<BoxProps, 'is'>
- Ensure Checkbox functionality remains unchanged
- Storybook should run without errors
Notes
- Backward-compatible
- Tested manually in Storybook

Description
The CheckBox component no longer supports the
isprop (was previously inherited from Box).Storybook still had a control for
is, causing TypeScript errors and Storybook crashes.Steps to Reproduce
Open Storybook for Inputs → CheckBox
Try to use the
iscontrol in StorybookObserve TypeScript error:
type 'string' is not assignable to type 'ElementType | undefined'
Component still works, but Storybook shows errors and crashes when
isis selected.Expected Behavior
Actual Behavior
isProposed Solution
iscontrol from Storybook for CheckBoxOmit<BoxProps, 'is'>Notes