December 2019
Intermediate to advanced
598 pages
12h 21m
English
Let's perform the following steps to create a generic Form component:
import { FC, useState } from 'react';import { PrimaryButton, gray5, gray6 } from './Styles';/** @jsx jsx */import { css, jsx } from '@emotion/core';
export interface Values { [key: string]: any;}
We haven't used an interface defined in this way before. This is called an indexable type.
In our ...
Read now
Unlock full access