React
Control Chip (Deprecated)
Deprecated. Use Chip.Toggle or Chip.Button from Chip.
Installation
Install dependencies
Copy the code below and paste it in
Props
ControlChip.Button
Prop
Type
ControlChip.Toggle
Prop
Type
inputProps?React.InputHTMLAttributes<HTMLInputElement> | undefinedrootRef?React.Ref<HTMLLabelElement> | undefineddisabled?boolean | undefinedinvalid?boolean | undefinedrequired?boolean | undefinedchecked?boolean | undefineddefaultChecked?boolean | undefinedonCheckedChange?((checked: boolean) => void) | undefinedindeterminate?boolean | undefinedControlChip.RadioRoot
Prop
Type
name?string | undefinedform?string | undefinedvalue?string | undefineddefaultValue?string | undefinedonValueChange?((value: string) => void) | undefinedControlChip.RadioItem
Prop
Type
inputProps?React.InputHTMLAttributes<HTMLInputElement> | undefinedrootRef?React.Ref<HTMLLabelElement> | undefinedvaluestringdisabled?boolean | undefined