on 5f71b99 help sign in
bridge/src/components/InputCaption.js
26 lines 468 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
5const InputCaption = ({ children, className, style }) => {
6 return (
7 <div className={`mt-8 mb-1 text-35 text-400 sans ${className}`} style={style}>
8 { children }
9 </div>
10 )
11};
14InputCaption.propTypes = {
15 className: PropTypes.string,
16 children: PropTypes.node,
17 style: PropTypes.object,
18};
21InputCaption.defaultProps = {
22 className: '',
23 style: {},
24};
26export default InputCaption;