packageDocumentation module import classnames from "classnames" ; import * as React from "react" ; import { LabeledComponentProps } from "../inputs/LabeledComponentProps" ; import { CommonProps } from "../utils/Props" ; public deprecated export interface RadioProps extends React . InputHTMLAttributes < HTMLInputElement > , CommonProps , LabeledComponentProps { } public deprecated export class Radio extends React . PureComponent < RadioProps > { public override render ( ) { const { label , disabled , status , className , style , inputStyle , inputClassName , type , ... props } = this . props ; return ( < label style = { style } className = { classnames ( "uicore-inputs-radio" , disabled && "core-disabled" , status , className ) } > { label && < span > { label } < /span>} < input type = { "radio" } className = { inputClassName } style = { inputStyle } disabled = { disabled } { ... props } /> < span className = "core-radio-checkmark" > < /span> < /label>); } }