Skip to content

WidgetConfigCheckboxField

@wuespace/telestion / widget / WidgetConfigCheckboxField

WidgetConfigCheckboxField(props): Element

A checkbox field for the widget configuration.

Parameters

props: Object

the props for the checkbox field

props.label: string

props.name: string

Returns

Element

Example

// Config: { enabled: boolean }
configElement: <WidgetConfigWrapper>
  <WidgetConfigCheckboxField label={'Enabled'} name={'enabled'} />
</WidgetConfigWrapper>

See

Widget.configElement