Skip to content

merthanmerter/shadcn-creatable-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

shadcn-creatable-select

Creatable select component for shadcn/ui

usage example

<CreatableSelect
    name="industry"
    defaultValue={{
        label: data?.data?.industry || '',
        value: data?.data?.industry || '',
    }}
    isLoading={industriesFetching}
    mutate={industryMutate}
    options={
        industries?.data?.data?.map((industry) => ({
            label: industry.industry,
            value: industry.industry,
        })) || []
     }
/>

About

Creatable select component for shadcn/ui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published