on fe527da help sign in
23 lines 412 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
4const Label = ({ children, className }) => {
5 return (
6 <div className={`mb-1 mt-8 fs-4 text-600 sans ${className}`}>
7 {children}
8 </div>
9 );
10};
12Label.propTypes = {
13 className: PropTypes.string,
14 children: PropTypes.node,
15 style: PropTypes.object,
16};
18Label.defaultProps = {
19 className: '',
20 style: {},
21};
23export default Label;