mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fetching messages for user
This commit is contained in:
parent
54687b131c
commit
e45dee3c9f
12 changed files with 103 additions and 17 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue