Subtitle
Subtitle one
Subtitle two
import React from 'react';
import { Row, Col, Subtitle } from 'seduo-ui';
export default class Example extends React.Component<any, any> {
render() {
return (
<div>
<Row>
<Col>
<Subtitle>Subtitle one</Subtitle>
<Subtitle className="mt-5">Subtitle two</Subtitle>
</Col>
</Row>
</div>
);
}
}
Subtitle Properties
Subtitle.propTypes = {
children: PropTypes.node.isRequired,
className: PropTypes.string,
};
Subtitle.defaultProps = {
className: '',
};