import React from 'react' import clsxm from '~/libs/clsxm' type Props = { children: React.ReactNode, isLoaded: boolean, height: string, duration?: string delay?: string } & React.HTMLProps const SmoothRender = (props: Props) => { const { children, isLoaded, height, duration = 0, delay = 0, style, className, ...rest } = props return (
{isLoaded && children}
) } export default SmoothRender