React

Control Chip (Deprecated)

더 이상 사용되지 않습니다. ChipChip.Toggle 또는 Chip.Button을 사용하세요.

Installation

npx @seed-design/cli@latest add ui:control-chip

Props

ControlChip.Button

Prop

Type

ControlChip.Toggle

Prop

Type

inputProps?React.InputHTMLAttributes<HTMLInputElement> | undefined
rootRef?React.Ref<HTMLLabelElement> | undefined
disabled?boolean | undefined
invalid?boolean | undefined
required?boolean | undefined
checked?boolean | undefined
defaultChecked?boolean | undefined
onCheckedChange?((checked: boolean) => void) | undefined
indeterminate?boolean | undefined

ControlChip.RadioRoot

Prop

Type

name?string | undefined
form?string | undefined
value?string | undefined
defaultValue?string | undefined
onValueChange?((value: string) => void) | undefined

ControlChip.RadioItem

Prop

Type

inputProps?React.InputHTMLAttributes<HTMLInputElement> | undefined
rootRef?React.Ref<HTMLLabelElement> | undefined
valuestring
disabled?boolean | undefined

Examples

Medium

Small

Icon Only

Prefix Icon

Suffix Icon

Last updated on

On this page