react-awesome-button-namdaoduy
Version:
Performant, extendable, highly customisable, production ready React Component that renders an animated basic set of UI buttons
18 lines (14 loc) • 346 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
import Styles from './body.scss';
const Body = ({ children }) => (
<div className={Styles.container}>
<div className={Styles.wrapper}>
{children}
</div>
</div>
);
Body.propTypes = {
children: PropTypes.node.isRequired,
};
export default Body;