Skip to content

Commit daa9daa

Browse files
committed
feat: update Switch component styles and improve index exports
1 parent cb4315d commit daa9daa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Shared/Components/Switch/Switch.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const Switch = ({
9898
<Tooltip alwaysShowTippyOnHover={!!tooltipContent} content={tooltipContent}>
9999
<label
100100
htmlFor={inputId.current}
101-
className={`${getSwitchContainerClass({ shape, size })} flex dc__no-shrink py-2`}
101+
className={`${getSwitchContainerClass({ shape, size })} flex dc__no-shrink py-2 m-0`}
102102
>
103103
<input
104104
type="checkbox"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
export { SWITCH_SHAPES, SWITCH_VARIANTS } from './constants'
12
export { default as Switch } from './Switch.component'
3+
export type { SwitchProps } from './types'

0 commit comments

Comments
 (0)