Choice
Checkbox, radio or switch with its label.
beta
API
import Choice from '@tcpsystems/ui/foundation/Choice';| Prop | Type | Default |
|---|---|---|
kind? | 'checkbox' | 'radio' | 'switch' | 'checkbox' |
label? | string | none |
| Snippet |
|---|
children |
| Hook | Kind |
|---|---|
.tcp-check | Root class |
Checkbox, radio or switch with its label.
import Choice from '@tcpsystems/ui/foundation/Choice';| Prop | Type | Default |
|---|---|---|
kind? | 'checkbox' | 'radio' | 'switch' | 'checkbox' |
label? | string | none |
| Snippet |
|---|
children |
| Hook | Kind |
|---|---|
.tcp-check | Root class |