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

fetching messages for user

This commit is contained in:
Fedor Katurov 2019-11-12 09:58:47 +07:00
parent 54687b131c
commit e45dee3c9f
12 changed files with 103 additions and 17 deletions

View file

@ -4,10 +4,7 @@ import * as styles from './styles.scss';
type IProps = AllHTMLAttributes<HTMLDivElement> & { is_blurred: boolean };
export const BlurWrapper: FC<IProps> = ({ children, is_blurred }) => (
<div
className={styles.blur}
style={{ filter: `blur(${is_blurred ? 15 : 0}px) saturate(${is_blurred ? 3 : 1})` }}
>
<div className={styles.blur} style={{ filter: `blur(${is_blurred ? 15 : 0}px)` }}>
{children}
</div>
);