Tenforce toolbox action component.
Accepted parameters are the followings for all components:
isLabel
: Boolean, adds label font stylingactionType
:ActionType
enum, adds action styling depending on value. Possible values are the following:ActionType.action
: plain action styleActionType.button
: button styleActionType.icon
: icon styleActionType.block
: block style
isCenter
: Boolean, adds center position stylingisTransparent
: Boolean, only available with buttonactionType
, adds transparent button stylingisSecondary
: Boolean, adds secondary color styling
isDisabled
: Boolean, makes the button disabled and read onlyisLoading
: Boolean, adds loading animation
target
: Default is_self
, supports HTML5 anchor targethref
: HTML5 anchor href.
<Action
content="Action"
isDisabled={false}
isLoading={false}
onClick={this.onClick}
isLabel={false}
actionType={ActionType.action}
isTransparent={false}
isSecondary={false}
extraClasses={""}
/>
<ActionAnchor
content="ActionAnchor"
href="https://www.tenforce.com/"
isLabel={false}
actionType={ActionType.action}
isTransparent={false}
isSecondary={false}
extraClasses={""}
/>