UNPKG

koko-react-select

Version:

한국어 초성, 부분 검색을 지원하는 커스텀 React Select 컴포넌트입니다. 멀티 선택, 검색, 초기화 기능을 포함합니다.

7 lines (6 loc) 443 B
import { OptionType } from '../type/commonType.ts'; export declare const filterOptions: <T extends string | number>(options: OptionType<T>[], keyword: string) => OptionType<T>[]; export declare const getChosung: (text: string) => string; export declare const splitByLang: (input: string) => string[]; export declare const isOnlyChosung: (text: string) => boolean; export declare const isMatch: (keywordItem: string, label: string) => boolean;