Home Manual Reference Source
import {ApproveButton} from 'cloudify-ui-new/basic/modal/ModalButtons.js'
public class | source

ApproveButton

Extends:

react~Component → ApproveButton

ApproveButton is a component to present confirmation button in Modal component.

ApproveButton is customized version of Semantic UI-React's Button component, so all properties of that component (eg. onClick, disabled, ...) can be used here.

Access

Stage.Basic.ApproveButton

Usage

ApproveButton

<ApproveButton content="Add" icon="add user" color="green"/>

Static Member Summary

Static Public Members
public static

propTypes

Static Public Members

public static propTypes: * source

propTypes

Properties:

NameTypeAttributeDescription
content string
  • optional
  • default: 'Save'

button content

icon string
  • optional
  • default: 'checkmark'

button icon

className string
  • optional
  • default: 'ok'

button classname