Skip to content

Instantly share code, notes, and snippets.

View Ericokim's full-sized avatar
🎯
Aim, shoot

Eric Munene Ericokim

🎯
Aim, shoot
  • Kenya
  • 15:33 (UTC +03:00)
View GitHub Profile
@ilkou
ilkou / shadcn-ui react-select.jsx
Created March 26, 2024 13:54
react-select with shadcn/ui
/* ----------- simple-select.js ----------- */
import * as React from 'react';
import Select from 'react-select';
import type { Props } from 'react-select';
import { defaultClassNames, defaultStyles } from './helper';
import {
ClearIndicator,
DropdownIndicator,
MultiValueRemove,
Option