import { pipe } from 'fp-ts/lib/function'; import * as RA from 'fp-ts/ReadonlyArray'; import { StrictMode } from 'react'; import ReactDOM from 'react-dom'; import { FontContext, withFontManager } from '../../font'; import '../style/fonts.css'; import { Description } from './Description'; import { GitHubIcon } from './GitHubIcon'; import { MeasuredBox } from './MeasuredBox'; const text = 'Lorem Ipsum'; withFontManager( fontManager => void ReactDOM.render( , document.getElementById('root'), ), ); function App() { return (
{pipe( ['FiraCode Retina', 'Inter', 'PTSerif', 'Go', 'Roboto'], RA.mapWithIndex((idx, fontFamily) => ( )), )}
); }