Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RadioBase

Hierarchy

  • Component<object, null>
    • RadioBase

Implements

  • ComponentLifecycle<object, null>

Index

Constructors

constructor

  • new RadioBase(props: any, context: any): RadioBase

Properties

context

context: any

groupId

groupId: string

inline

inline: boolean

props

props: Readonly<{ children?: ReactNode; }> & Readonly<P>

refs

refs: object

Type declaration

  • [key: string]: ReactInstance

state

state: Readonly

Methods

forceUpdate

  • forceUpdate(callBack?: function): void
  • Parameters

    • Optional callBack: function
        • (): any
        • Returns any

    Returns void

render

  • render(): Element

setState

  • setState<K>(f: function, callback?: function): void
  • setState<K>(state: Pick, callback?: function): void
  • Type parameters

    • K: keyof S

    Parameters

    • f: function
        • (prevState: null, props: object): Pick
        • Parameters

          • prevState: null
          • props: object
            • callback: function
                • (val: string): any
                • Parameters

                  • val: string

                  Returns any

            • connected: boolean
            • Optional inline?: boolean
            • items: string[]
            • selectedValueOrIndex: string | number
            • title: string

          Returns Pick

    • Optional callback: function
        • (): any
        • Returns any

    Returns void

  • Type parameters

    • K: keyof S

    Parameters

    • state: Pick
    • Optional callback: function
        • (): any
        • Returns any

    Returns void

Generated using TypeDoc