Skip to content
Snippets Groups Projects
Commit a364b9b6 authored by Alf Eaton's avatar Alf Eaton
Browse files

Add Button atom to xpub-ui

parent 93edfae5
No related branches found
No related tags found
No related merge requests found
import React from 'react'
const Button = ({ children, type = 'button', disabled}) => (
<button
type={type}
disabled={disabled}>{children}</button>
)
export default Button
A button.
```js
<Button>Save</Button>
```
A button can be disabled.
```js
<Button disabled>Save</Button>
```
export { default as Button } from './atoms/Button'
export { default as Checkbox } from './atoms/Checkbox' export { default as Checkbox } from './atoms/Checkbox'
export { default as Icon } from './atoms/Icon'
export { default as Menu } from './atoms/Menu' export { default as Menu } from './atoms/Menu'
export { default as Radio } from './atoms/Radio' export { default as Radio } from './atoms/Radio'
export { default as Tags } from './atoms/Tags' export { default as Tags } from './atoms/Tags'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment