Skip to content

Instantly share code, notes, and snippets.

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

Arman arman94

🏠
Working from home
View GitHub Profile
@arman94
arman94 / shadcn-ui react-select.jsx
Created September 4, 2024 12:47 — forked from ilkou/shadcn-ui react-select.jsx
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