WUI logo

RadioTab

Allows user to choose between some options and only one can be return.

version

5.0.0-alpha.16

install

yarn add @welcome-ui/radio-tab

usage

import { RadioTab } from '@welcome-ui/radio-tab'

Usage #

Disabled #

Properties #

NameType(s)DefaultRequired
checked
Boolean
disabled
Boolean
disabledIcon
ReactElement<any, string | JSXElementConstructor<any>>
label
ReactElement<any, string | JSXElementConstructor<any>>
onChange
(event: MouseEvent<HTMLLabelElement, MouseEvent>) => void
onClick
(event: MouseEvent<HTMLLabelElement, MouseEvent>) => void
size
"xs"
"sm"
"md"
"lg"
variant
"error"
"focused"
"info"
"success"
"warning"
transparent
Boolean
isClearable
Boolean
hasIcon
Boolean
iconPlacement
"right"
"left"
"both"

Packages #

Dependencies #
Peer dependencies #

Previous

RadioGroup