export interface LoadingProps { text?: string; className?: string; } export function Loading(props: LoadingProps) { return (
{props.text && props.text.length ? (

{props.text}

) : null}
); }