Appearance
Function: PercentField()
ts
function PercentField(props: PercentFieldProps): Block;Defined in: src/renderer/blocks/index.ts:664
Percentage input field.
Parameters
| Parameter | Type |
|---|---|
props | PercentFieldProps |
Returns
Examples
ts
PercentField({name: 'rate', label: 'Interest rate'});ts
PercentField({
name: 'tax',
label: 'Tax rate',
defaultValue: '15',
placeholder: 'Enter percent',
required: true,
});