Button
Typedefs
A component for buttons.
Returns:
React.Element
— A React component that displays a single button.
Parameters
| Name | Type | Description | 
|---|---|---|
| props | React component props | 
Props for Button
Properties
| Name | Type | Description | 
|---|---|---|
| classes | Object | An object containing the class names for the Button component. | 
| classes.content | string | classes for the button content | 
| classes.root | string | classes for root container | 
| classes.root_highPriority | string | classes for Button if high priority. | 
| classes.root_lowPriority | string | classes for Button if low priority. | 
| classes.root_normalPriority | string | classes for Button if normal priority. | 
| priority | string | the priority/importance of the Button | 
| type | string | the type of the Button | 
| negative | bool | whether the button should be displayed in red for a negative action | 
| disabled | bool | is the button disabled | 
Source Code: pwa-studio/packages/venia-ui/lib/components/Button/button.js

