import React from "react"; import { motion } from "framer-motion"; interface Props { /** * Class name that will be applied to the content `div`, or the component * passed as the `as` prop. */ className?: string; /** * Override the the default element used to content of the modal * * All props provided will be merged with props that this component adds, * including `className`s being merged. You can use this to make the modal a * `
` * * @default `
` */ as?: React.ReactElement; /** * Override the outermost * * All props provided will be merged with props that `Button` adds, including * `className`s being merged. * * @default