Browse Source

Update tick box controls

Apply styles on block.
pull/1/head
TheoryOfNekomata 11 months ago
parent
commit
daffeb7b53
3 changed files with 9 additions and 3 deletions
  1. +3
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/RadioTickBox/index.tsx
  2. +3
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleSwitch/index.tsx
  3. +3
    -1
      packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleTickBox/index.tsx

+ 3
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/RadioTickBox/index.tsx View File

@@ -25,7 +25,9 @@ export const RadioTickBox = React.forwardRef<RadioTickBoxDerivedElement, RadioTi
return ( return (
<div <div
className={clsx( className={clsx(
'flex gap-x-4 flex-wrap',
'gap-x-4 flex-wrap',
block && 'flex',
!block && 'inline-flex align-center',
className, className,
)} )}
style={style} style={style}


+ 3
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleSwitch/index.tsx View File

@@ -45,7 +45,9 @@ export const ToggleSwitch = React.forwardRef<ToggleSwitchDerivedElement, ToggleS
return ( return (
<div <div
className={clsx( className={clsx(
'flex gap-x-4 flex-wrap',
'gap-x-4 flex-wrap',
block && 'flex',
!block && 'inline-flex align-center',
className, className,
)} )}
style={style} style={style}


+ 3
- 1
packages/web-kitchensink-reactnext/src/categories/option/react/components/ToggleTickBox/index.tsx View File

@@ -42,7 +42,9 @@ export const ToggleTickBox = React.forwardRef<ToggleTickBoxDerivedElement, Toggl
return ( return (
<div <div
className={clsx( className={clsx(
'flex gap-x-4 flex-wrap',
'gap-x-4 flex-wrap',
block && 'flex',
!block && 'inline-flex align-center',
className, className,
)} )}
style={style} style={style}


Loading…
Cancel
Save