gab-social/app/javascript/gabsocial/components/sidebar_section_title.js
mgabdev 176ddc22f2 Updated the default class name
• Updated:
- the default class name
2020-08-18 15:49:11 -05:00

25 lines
483 B
JavaScript

import React from 'react'
import PropTypes from 'prop-types'
import Text from './text'
class SidebarSectionTitle extends React.PureComponent {
render() {
const { children } = this.props
return (
<div className={[_s.d, _s.py5, _s.px10, _s.mt10].join(' ')}>
<Text color='tertiary'>
{children}
</Text>
</div>
)
}
}
SidebarSectionTitle.propTypes = {
children: PropTypes.string.isRequired,
}
export default SidebarSectionTitle