| 2 | import {IntlProvider, useIntl} from 'react-intl' |
| 3 | |
| 4 | const Comp: React.FC<{}> = _ => { |
| 5 | const {formatDate} = useIntl() |
| 6 | return <h1>{formatDate(Date.now())}</h1> |
| 7 | } |
| 8 | |
| 9 | const Comp2: React.FC = () => { |
| 10 | const {formatDate, formatTime} = useIntl() |
nothing calls this directly
no test coverage detected