Skip to content
Snippets Groups Projects

Card Component

1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -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;
Loading