interface Props { showing: number total: number sourceName: string loading?: boolean collectionName?: string | null onChangeCollection?: () => void } export function StatusBar({ showing, total, sourceName, loading, collectionName, onChangeCollection, }: Props) { return (