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

added fluid lab

This commit is contained in:
Fedor Katurov 2021-06-30 14:43:45 +07:00
parent 7ce8939dce
commit 5bdfeb6ce4
7 changed files with 107 additions and 18 deletions

View file

@ -9,6 +9,7 @@ import { Icon } from '~/components/input/Icon';
import { Group } from '~/components/containers/Group';
import { Toggle } from '~/components/input/Toggle';
import classNames from 'classnames';
import { Superpower } from '~/components/boris/Superpower';
interface IProps {
recent: IFlowState['recent'];
@ -93,12 +94,14 @@ const FlowStamp: FC<IProps> = ({
)}
</div>
<div className={styles.toggles}>
<Group horizontal onClick={toggleLayout} className={styles.fluid_toggle}>
<Toggle value={isFluid} />
<div className={styles.toggles__label}>Жидкое течение</div>
</Group>
</div>
<Superpower>
<div className={styles.toggles}>
<Group horizontal onClick={toggleLayout} className={styles.fluid_toggle}>
<Toggle value={isFluid} />
<div className={styles.toggles__label}>Жидкое течение</div>
</Group>
</div>
</Superpower>
</div>
);
};