Appearance
Function: InputField()
ts
function InputField(props: InputProps): Block;Defined in: src/renderer/blocks/index.ts:504
Input field for text entry.
Parameters
| Parameter | Type |
|---|---|
props | InputProps |
Returns
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,
});