Skip to content

Function: InputField()

ts
function InputField(props: InputProps): Block;

Defined in: src/renderer/blocks/index.ts:504

Input field for text entry.

Parameters

ParameterType
propsInputProps

Returns

Block

Examples

ts
InputField({name: 'firstName', label: 'First name', type: 'text'});
ts
InputField({
  name: 'email',
  label: 'Email address',
  type: 'email',
  placeholder: 'you@example.com',
  required: true,
});

Matterway Assistant SDK Documentation