mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-09 11:46: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 };
|
6
src/components/containers/Card/styles.scss
Normal file
6
src/components/containers/Card/styles.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
.card {
|
||||
background-color: #111111;
|
||||
border-radius: $panel_radius;
|
||||
|
||||
@include outer_shadow();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue