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

rotated colors

This commit is contained in:
muerwre 2019-07-29 19:13:16 +07:00
parent 0941253b1c
commit 6547f3bed0
10 changed files with 82 additions and 43 deletions

View file

@ -3,15 +3,16 @@ import * as styles from './styles.scss';
import classNames = require("classnames");
type IProps = HTMLAttributes<HTMLDivElement> & {
seamless?: boolean;
}
const Panel: FC<IProps> = ({
className,
children,
seamless,
...props
}) => (
<div className={classNames(styles.panel, className)} {...props}>
<div className={classNames(styles.panel, className, { seamless })} {...props}>
{children}
</div>
);