feat: add Switch component and showcase
- Introduced a new Switch component with variants and status colors. - Created a SwitchShowcase component to demonstrate the Switch functionality. - Updated package.json to include dayjs and rc-component/switch dependencies. - Added styles for the Switch component in switch.style.css. - Updated form.style.css to import switch styles. - Enhanced types for Switch props in types/index.ts. - Updated globals.css with CSS variables for the Switch component.
This commit is contained in:
@@ -8,3 +8,4 @@ export * from './input/input-number.component';
|
||||
|
||||
export * from './textarea/textarea.component';
|
||||
export * from './checkbox/checkbox.component';
|
||||
export * from './switch/switch.component';
|
||||
|
||||
Reference in New Issue
Block a user