Options
All
  • Public
  • Public/Protected
  • All
Menu

Acts like a controlled component when value and onChange are provided. Acts like an uncontrolled component otherwise.

Type parameters

  • TValue

Hierarchy

  • UseControlledValueProps

Index

Properties

Optional defaultValue

defaultValue?: TValue

fallbackValue

fallbackValue: TValue

Optional value

value?: TValue

Methods

Optional onChange

  • onChange(value: TValue): void
  • Parameters

    • value: TValue

    Returns void

Generated using TypeDoc