diff --git a/src/components/Card/index.jsx b/src/components/Card/index.jsx index 12bbfee75956aa4c2b4e3497e71606cf102da994..8e27d668f1faf84ab0e2f0960b6cb2b280937c91 100644 --- a/src/components/Card/index.jsx +++ b/src/components/Card/index.jsx @@ -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;