December 2019
Intermediate to advanced
598 pages
12h 21m
English
Let's start with the App component by carrying out the following steps:
/** @jsx jsx */import { css, jsx } from '@emotion/core';
The css function is what we'll use to style an HTML element. The jsx function is used to transform the component into JavaScript by Babel. The comment above the import statement tells Babel to use this jsx function to transform JSX into JavaScript.
const App: React.FC = () => { return ( <div css={css` font-family: 'Segoe UI', 'Helvetica ...Read now
Unlock full access