import React from 'react' import { Box } from 'theme-ui' import type { FC } from 'react' interface Props { totalCount: number label: string variant?: string } export const SearchControlsTotalCount: FC = ({ totalCount, label, variant: v, }) => { const variant = `searchControls${v ? `.${v}` : ''}.totalCount` return ( {totalCount} {label} ) }