Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

Latest commit

 

History

History
 
 

button-row

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

ButtonRow

This component is used to display a list of buttons in a row.

Example usage:

<ButtonRow
  buttons={[
    {
      action: () => {},
      modifier: 'negative',
      title: 'My negative button',
      type: 'reset'
    },
    {
      action: () => {},
      modifier: 'positive',
      title: 'My positive button',
      type: 'submit'
    }
  ]}
/>

With a single button

<ButtonRow
  buttons={[
    {
      action: () => {},
      modifier: 'positive',
      title: 'My button',
      type: 'submit'
    }
  ]}
/>