Skip to content

WidgetConfigTextField

@wuespace/telestion / widget / WidgetConfigTextField

WidgetConfigTextField(props): Element

A text field for the widget configuration.

Parameters

props: Object

the props for the text field

props.label: string

props.name: string

Returns

Element

Example

// Config: { text: string }
configElement: <WidgetConfigWrapper>
  <WidgetConfigTextField label={'Text'} name={'text'} />
</WidgetConfigWrapper>

See

Widget.configElement