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:
parent
0941253b1c
commit
6547f3bed0
10 changed files with 82 additions and 43 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue