Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as React from 'react';
import { Toggle, ToggleProps } from './Toggle';
import { Block } from 'glamor/jsxstyle';
import { Field, FieldProps } from 'formik';
import posed from 'react-pose';
import { PoseBlock } from './PoseView';
import { theme } from '../theme';
const LabelPoser = posed.label({
open: {
y: 0,
opacity: 1,
transition: {
y: { ease: 'circOut', duration: 300 },
opacity: { ease: 'easeIn', duration: 200 },
},
},
closed: {
y: 20,
opacity: 0,
transition: {
y: { ease: 'circOut', duration: 300 },
opacity: { ease: 'easeIn', duration: 200 },
},
},