import React from 'react'; import { useTranslation } from 'react-i18next'; import { Tile, Button } from '@carbon/react'; import { ArrowRight } from '@carbon/react/icons'; import { ResponsiveWrapper } from '@openmrs/esm-framework'; import styles from './dispensing-tile.scss'; interface DispensingTileProps { label: string; value: number; headerLabel: string; children?: React.ReactNode; } const DispensingTile: React.FC = ({ label, value, headerLabel, children }) => { const { t } = useTranslation(); return (
{children}

{value}

); }; export default DispensingTile;