import {
BiSolidCheckboxChecked,
BiSolidCheckboxMinus,
BiSolidXSquare,
} from 'react-icons/bi';
import Spinner from './Spinner';
export default function StatusIcon({
type,
loading,
}: {
type: 'checked' | 'missing' | 'warning' | 'optional'
loading?: boolean
}) {
const getIcon = () => {
switch (type) {
case 'checked':
return