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:
parent
c0f8766ec6
commit
857993e354
11 changed files with 218 additions and 35 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue