mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 17:21:58 +08:00
9 lines
246 B
JavaScript
9 lines
246 B
JavaScript
import React from 'react';
|
|
import styles from './Card.css';
|
|
|
|
export default ({children, className, shadow = 2, ...props}) => (
|
|
<div className={`${styles.base} ${className} ${styles[`shadow--${shadow}`]}`} {...props}>
|
|
{children}
|
|
</div>
|
|
);
|