Lamassu admin server initial commit

This commit is contained in:
Rafael Taranto 2019-03-12 10:49:09 -03:00 committed by Rafael Taranto
parent d083ae5a40
commit fc1951c4b2
158 changed files with 28462 additions and 1606 deletions

View file

@ -0,0 +1,29 @@
import React, { memo } from 'react'
import Chip from '@material-ui/core/Chip'
import { withStyles } from '@material-ui/core/styles'
import { fontColor, inputFontWeight, subheaderColor, smallestFontSize, inputFontFamily } from '../styling/variables'
const styles = theme => ({
root: {
backgroundColor: subheaderColor,
borderRadius: 4,
margin: theme.spacing(0.5, 0.25),
height: 18
},
label: {
fontSize: smallestFontSize,
color: fontColor,
fontWeight: inputFontWeight,
fontFamily: inputFontFamily,
paddingRight: 4,
paddingLeft: 4
}
})
const LsChip = memo(({ classes, ...props }) => (
<Chip size='small' classes={classes} {...props} />
))
export default withStyles(styles)(LsChip)