Skip to content

Commit 2b99ad3

Browse files
committed
checkbox-margin
1 parent 4e4b11a commit 2b99ad3

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-declarative-mantine",
3-
"version": "0.0.32",
3+
"version": "0.0.33",
44
"description": "The Mantine ui kit bindings for react-declarative",
55
"private": false,
66
"author": {

src/OneSlotFactory/components/CheckBox.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export const CheckBox = ({
1212
}: ICheckBoxSlot) => (
1313
<UiCheckBox
1414
size="md"
15+
mt="xs"
16+
mb="xs"
1517
disabled={disabled}
1618
checked={Boolean(value)}
1719
onChange={() => onChange(!value)}

src/OneSlotFactory/components/Radio.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export const Radio = ({
4040
return (
4141
<UiRadio
4242
size="md"
43+
mt="xs"
44+
mb="xs"
4345
checked={checked}
4446
disabled={disabled}
4547
onChange={() => handleChange(radioValue || null)}

src/OneSlotFactory/components/Switch.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const Switch = ({
1313
return (
1414
<UiSwitch
1515
size="md"
16+
mt="xs"
17+
mb="xs"
1618
checked={Boolean(value)}
1719
disabled={disabled}
1820
onChange={() => onChange(!value)}

0 commit comments

Comments
 (0)