mirror of
https://github.com/mitchell/mjfs.us.git
synced 2025-07-15 20:56:10 +00:00
19 lines
309 B
JavaScript
19 lines
309 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
import './index.css'
|
|
|
|
class SmallText extends React.PureComponent {
|
|
render () {
|
|
return (
|
|
<p className='small-text'>{this.props.children}</p>
|
|
)
|
|
}
|
|
}
|
|
|
|
SmallText.propTypes = {
|
|
children: PropTypes.string
|
|
}
|
|
|
|
export default SmallText
|