<VariableInput> is a component for inputting variables declared with the variable() function.

export const userName = variable('Keita');

<VariableInput variable={userName} />

Properties

variable
Variable
required

Variable to bind the input value

type
string

Type of input field. Default is ‘text’.

size
'sm' | 'default' | 'lg'

Size of the input field