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