aboutsummaryrefslogblamecommitdiffstats
path: root/webui/src/Label.js
blob: 93a9a358d6b4d6cd80284b692ea912f78047baaa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                  
import React from 'react'
import { withStyles } from '@material-ui/core/styles'

const styles = theme => ({
  label: {
    padding: '0 4px',
    margin: '0 1px',
    backgroundColor: '#da9898',
    borderRadius: '3px'
  },
})

const Label = ({label, classes}) => <span className={classes.label}>{label}</span>

export default withStyles(styles)(Label)