Skip to content

Function: PercentField()

ts
function PercentField(props: PercentFieldProps): Block;

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

Percentage input field.

Parameters

ParameterType
propsPercentFieldProps

Returns

Block

Examples

ts
PercentField({name: 'rate', label: 'Interest rate'});
ts
PercentField({
  name: 'tax',
  label: 'Tax rate',
  defaultValue: '15',
  placeholder: 'Enter percent',
  required: true,
});

Matterway Assistant SDK Documentation