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

added deletion badge

This commit is contained in:
Fedor Katurov 2019-11-29 11:31:29 +07:00
parent 3c844e9b27
commit 6eafc227da
3 changed files with 69 additions and 45 deletions

View file

@ -0,0 +1,10 @@
import React, { FC } from 'react';
import styles from './styles.scss';
interface IProps {}
const NodeDeletedBadge: FC<IProps> = ({}) => {
return <div className={styles.badge}>Эта ячейка заблокирована. Её не никто не увидит.</div>;
};
export { NodeDeletedBadge };

View file

@ -0,0 +1,9 @@
.badge {
padding: $gap;
text-align: center;
border-radius: $radius;
color: $red;
padding: $gap * 4 $gap;
text-transform: uppercase;
font: $font_18_semibold;
}