mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
comments mock
This commit is contained in:
parent
bdf7ba1ccb
commit
2a6604afaf
18 changed files with 340 additions and 12 deletions
16
src/components/containers/Card/index.tsx
Normal file
16
src/components/containers/Card/index.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React, { FC } from 'react';
|
||||
import classNames = require("classnames");
|
||||
import * as styles from './styles.scss';
|
||||
|
||||
type IProps = React.HTMLAttributes<HTMLDivElement> & {}
|
||||
|
||||
const Card: FC<IProps> = ({
|
||||
className,
|
||||
children,
|
||||
}) => (
|
||||
<div className={classNames(styles.card, className)}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
export { Card };
|
Loading…
Add table
Add a link
Reference in a new issue