Module: react-aiot/components/Creatable

(require("react-aiot/components/Creatable"))(props)

A creatable button is next to the headline. The use case for a creatable button is for example the "Create folder" button.
Parameters:
Name Type Description
props object Properties
Properties
Name Type Attributes Default Description
visible boolean <optional>
true Determines to show the creatable button
type string The type (also data-aio-type to the button DOMElement)
cssClasses string <optional>
The cssClasses for the button DOMElement
isCreatableLinkDisabled boolean <optional>
If true the button is disabled
toolTipTitle React.Element | string <optional>
The tooltip title
tooltipText React.Element | string <optional>
The tooltip text. If you want to show a tooltip you need to set a toolTipTitle, too.
icon React.Element <optional>
The icon before the label
label React.Element | string <optional>
The label for the button
onClick module:react-aiot/components/Creatable#onClick <optional>
Source:
Returns:
React.Element

Type Definitions

onClick(type)

The creatable button is pressed.
Parameters:
Name Type Description
type string The creatable type
Source: