gab-social/app/javascript/gabsocial/components/sidebar_section_title.js

22 lines
395 B
JavaScript
Raw Normal View History

2020-02-19 23:57:07 +00:00
import Text from './text'
export default class SidebarSectionTitle extends PureComponent {
static propTypes = {
children: PropTypes.string.isRequired,
}
render() {
const { children } = this.props
return (
2020-03-11 23:56:18 +00:00
<div className={[_s.default, _s.py5, _s.px10, _s.mt10].join(' ')}>
2020-04-29 23:32:49 +01:00
<Text color='tertiary'>
2020-02-19 23:57:07 +00:00
{children}
</Text>
</div>
)
}
}