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

Add Button style

parent 1cbaa197
No related branches found
No related tags found
No related merge requests found
import React from 'react'
import classes from './Button.local.scss'
const Button = ({ children, type = 'button', disabled, onClick}) => (
<button
className={classes.root}
type={type}
disabled={disabled}
onClick={onClick}>{children}</button>
......
.root {
composes: primary from '../lib/colors.local.scss';
text-transform: uppercase;
border: none;
font-size: inherit;
padding: 10px 20px;
}
.primary {
background-color: cornflowerblue;
color: white;
}
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