import m from 'mithril' ; import { Classes } from '../../_shared' ; import { BaseControl , IControlAttrs } from '../base-control' ; export class Radio implements m . Component < IControlAttrs > { public view ( { attrs } ) { return m ( BaseControl , { ... attrs , type : 'radio' , typeClass : Classes . RADIO } ) ; } }