import * as React from "react"; import { TransitionProps } from "react-spring/renderprops"; import { BoxProps } from "../Box"; interface ISlideIn { in: boolean; offset?: string; duration?: number; children: (styles: Object) => React.ReactNode; } type SlideInProps = ISlideIn & TransitionProps; export const SlideIn: React.FC; interface IScale { in: boolean; initialScale?: number; duration?: number; children: (styles: Object) => React.ReactNode; } type ScaleProps = IScale & TransitionProps; export const Scale: React.FC; interface ISlide { in: boolean; finalHeight?: BoxProps["height"]; finalWidth?: BoxProps["maxWidth"]; duration?: number; from: "bottom" | "top" | "left" | "right"; } type SlideProps = ISlide & TransitionProps; export const Slide: React.FC;