Skip to content

Commit

Permalink
chore: Switch, SwitchGroup 컴포넌트 gap space 토큰 활용하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed Jun 2, 2024
1 parent 24fd4f1 commit 9f241d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/Switch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Switch = forwardRef(
};

return (
<Flex alignItems="center" gap="0.5rem">
<Flex alignItems="center" gap="xs">
<styled.label
className={switchStyle({
type: isDisabled ? "disabled" : isChecked ? "checked" : "unchecked",
Expand Down
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/SwitchGroup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const SwitchGroup = ({ children, value = [], onChange }: SwitchGroupProps) => {
};

return (
<Flex direction="column" display="inline-flex" gap="8px">
<Flex direction="column" display="inline-flex" gap="xs">
{childrenArray.map((child, index) => {
return cloneElement(child, {
key: index,
Expand Down

0 comments on commit 9f241d7

Please sign in to comment.