import * as React from 'react';
import hex from '../../colors/hex';
import Flex from '../../flex/Flex';
import Text from '../../text/Text';
import Button from '../../buttons/Button';
import Transition from '../Transition';
const fillModes = ['none', 'forwards', 'backwards', 'both'] as const;
const shrinkFadeEffect = {
initial: {
opacity: 0,
},
animate: {
opacity: 1,
transform: {
scale: 0.25,
},
duration: 1000,
easing: 'entry',
},
exit: {
opacity: 0,
duration: 1000,
easing: 'exit',
},
} as const;
export const FillMode = () => {
const [active, setActive] = React.useState(false);
return (