import * as React from "react" import { isNumber } from "../../Utilities/typeCheckUtils" interface Props { current: number | undefined max: number | undefined } export const TextFieldCounter: React.FC = ({ current, max }) => isNumber (max) ? (
{current} {" / "} {max}
) : null