Lamassu admin server initial commit
This commit is contained in:
parent
d083ae5a40
commit
fc1951c4b2
158 changed files with 28462 additions and 1606 deletions
29
new-lamassu-admin/src/components/Chip.js
Normal file
29
new-lamassu-admin/src/components/Chip.js
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue