()
| 7 | } |
| 8 | |
| 9 | const Comp2: React.FC = () => { |
| 10 | const {formatDate, formatTime} = useIntl() |
| 11 | return ( |
| 12 | <> |
| 13 | <h1>{formatDate(new Date(), {month: 'long'})}</h1> |
| 14 | <h2>{formatTime(undefined)}</h2> |
| 15 | </> |
| 16 | ) |
| 17 | } |
| 18 | |
| 19 | const App: React.FC = () => { |
| 20 | return ( |
nothing calls this directly
no test coverage detected