Skip to content
Snippets Groups Projects
Commit df97a9c9 authored by Pavan Kamath's avatar Pavan Kamath
Browse files

Card Component

parent 5ec57319
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import styles from "./Card.module.scss";
function Card(props) {
const {customClass, children } = props;
return (
<div className={cs(customClass, styles.card)} title="Copy to clipboard">
<div className={cs(customClass, styles.card)} title="Copy to Clipboard">
{children}
</div>
);
......@@ -16,4 +16,8 @@ Card.propTypes = {
customClass: PropTypes.string,
};
Card.defaultProps = {
customClass: "",
}
export default Card;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment