Button action

Установка

import {ButtonAction} from '@xsolla/uikit';

Пример

Primary
Filled with extra label
1635035634046
$3.99
With custom text
Input with custom text
Disabled
Disabled button
$3.99
Error
You need to add at least 1 item.

Спецификация

PropertyDescriptionTypeDefault
metameta for redux-form or basic inputobject{touched: false, error: null}
childrenentry of buttonany
disabledset the disabled status of buttonboolfalse
extraLabelextra label for action buttonstring
iconicon namestring
appearancevisual appearanceprimary, filled, inputprimary
onClickfires at button click for primary appearance, at icon click for filled and inputfunction
typedefault button typestringbutton
dataIdattribute for data identifierstring
placeholderset the placeholder (only for input appearance)stringnull
onChangemanage the input value (only for input appearance)function