1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

made boris graphic stats

This commit is contained in:
Fedor Katurov 2022-03-30 18:39:58 +07:00
parent c0f8766ec6
commit 857993e354
11 changed files with 218 additions and 35 deletions

View file

@ -2,13 +2,15 @@ import React, { FC } from 'react';
import classNames from 'classnames';
import { DivProps } from '~/utils/types';
import styles from './styles.module.scss';
type IProps = React.HTMLAttributes<HTMLDivElement> & {
export type CardProps = DivProps & {
seamless?: boolean;
};
const Card: FC<IProps> = ({ className, children, seamless, ...props }) => (
const Card: FC<CardProps> = ({ className, children, seamless, ...props }) => (
<div className={classNames(styles.card, className, { seamless })} {...props}>
{children}
</div>