/** * Single component loading indicator (centered using component height & width) */ export default function ComponentLoading(props: { size?: 'small' | 'default' | 'large'; }) { const { size = 'default' } = props; const sizeStyle = (() => { switch (size) { case 'small': return 'size-4'; case 'default': return 'size-6'; case 'large': return 'size-8'; } })(); return (
Loading...
); }