on 05c1914 help sign in
29 lines 412 B history raw
1import React from 'react';
2import PropTypes from 'prop-types';
5const Form = ({
6 className,
7 children,
8 style,
9}) => {
10 return (
11 <form className={`${className}`} style={style}>
12 { children }
13 </form>
14 )
15};
17Form.propTypes = {
18 className: PropTypes.string,
19 children: PropTypes.node,
20 style: PropTypes.object,
21};
23Form.defaultProps = {
24 className: '',
25 style: {},
26};
29export default Form;