Skip to content

Instantly share code, notes, and snippets.

View paulinhapenedo's full-sized avatar
🦉

Paula Penedo paulinhapenedo

🦉
View GitHub Profile
@paulinhapenedo
paulinhapenedo / customSelect.jsx
Created March 3, 2022 23:02
Custom select using react-select + react-final-form
import React from "react";
import { FieldRenderProps } from "react-final-form";
import Select, { ValueType } from "react-select";
type Option = {
label: string;
value: string;
};
// as seen here https://stackoverflow.com/a/66746766/5763750

Keybase proof

I hereby claim:

  • I am paulinhapenedo on github.
  • I am paulapenedo (https://keybase.io/paulapenedo) on keybase.
  • I have a public key ASCy_kK3QKeMk0b0pjK99AuCk9ZizkJe4TRZwFlBst7kOgo

To claim this, I am signing this object: