import * as React from "react" import LogoMark from "../icons/LogoMark" function Fallback() { return (
Loading...
) } type LoadingProps = React.ComponentPropsWithoutRef<"div"> & { loading: boolean } export const Loading = React.forwardRef( function Loading(props, ref) { const { loading, children, ...other } = props return (
{loading ? : children}
) } )