You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
370 B
21 lines
370 B
6 years ago
|
import React from 'react'
|
||
|
import { Label as Base } from 'styled-system-html'
|
||
|
|
||
|
/**
|
||
|
* @render react
|
||
|
* @name Label
|
||
|
* @example
|
||
|
* <Label />
|
||
|
*/
|
||
|
class Label extends React.Component {
|
||
|
static displayName = 'Label'
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<Base css={{ display: 'block' }} color="white" fontWeight="bold" mb={1} {...this.props} />
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default Label
|