Skip to content

Instantly share code, notes, and snippets.

View rafaelmonteiroarj's full-sized avatar
🏠
Working from home

Rafael Monteiro Arjonas rafaelmonteiroarj

🏠
Working from home
View GitHub Profile
import { useEffect, useState } from 'react';
import { createGlobalStyle } from 'styled-components'
const GlobalStyle = createGlobalStyle`
body {
font-family: sans-serif;
}
main {
@rafaelmonteiroarj
rafaelmonteiroarj / UserSearchForm.tsx
Created April 18, 2020 16:23 — forked from oukayuka/UserSearchForm.tsx
Formik sample with TypeScript
import { InjectedFormikProps, withFormik } from 'formik';
import * as React from 'react';
import * as Yup from 'yup';
interface FormValues {
login: string;
}
interface FormProps {
login?: string;
@rafaelmonteiroarj
rafaelmonteiroarj / UserSearchForm.tsx
Created April 18, 2020 16:23 — forked from oukayuka/UserSearchForm.tsx
Formik sample with TypeScript
import { InjectedFormikProps, withFormik } from 'formik';
import * as React from 'react';
import * as Yup from 'yup';
interface FormValues {
login: string;
}
interface FormProps {
login?: string;