Skip to content

Function: CurrencyField()

ts
function CurrencyField(props: CurrencyFieldProps): Block;

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

Currency input field.

Parameters

ParameterType
propsCurrencyFieldProps

Returns

Block

Examples

ts
CurrencyField({name: 'price', label: 'Price', currency: 'dollar'});
ts
CurrencyField({
  name: 'salary',
  label: 'Monthly salary',
  currency: 'euro',
  defaultValue: '5000',
  required: true,
});

Matterway Assistant SDK Documentation