Usage

import { Radio } from '@loomhq/lens'
<Radio />

States

  • Use isChecked to check the Radio.
  • Use isDisabled to disable the Radio.

With label

Forwarding refs

Use the ref prop to access the DOM node.

More about forwarding refs.

Props

name
type
default
isChecked
boolean
isDisabled
boolean
onFocus
React.ReactEventHandler
onChange
React.ReactEventHandler
onBlur
React.ReactEventHandler