1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-09 11:46:41 +07:00

simple player controls

This commit is contained in:
Fedor Katurov 2019-10-13 18:43:42 +07:00
parent 3fcff3ea0d
commit 69ff9a7652
8 changed files with 128 additions and 25 deletions

View file

@ -1,22 +1,14 @@
import React, { FC } from 'react';
import * as styles from './styles.scss';
import classNames = require('classnames');
import classNames from 'classnames';
type IProps = React.HTMLAttributes<HTMLDivElement> & {
seamless?: boolean;
}
};
const Card: FC<IProps> = ({
className,
children,
seamless,
...props
}) => (
<div
className={classNames(styles.card, className, { seamless })}
{...props}
>
const Card: FC<IProps> = ({ className, children, seamless, ...props }) => (
<div className={classNames(styles.card, className, { seamless })} {...props}>
{children}
</div>
);