react-select-custom-component
Version:
A highly customizable React dropdown component based on React Select, providing flexible and lightweight select input options.
18 lines (17 loc) • 574 B
TypeScript
declare module 'react-select-custom-component' {
import { FC } from 'react';
export interface CustomComponentProps {
data: any[],
title: object;
placeholder: object;
listItemStyle: object;
isSearch: boolean;
lang: string;
mandatory: boolean;
style: object;
className: string;
changeSelectedHandler: (value: string) => any;
// Agar boshqa propslar mavjud bo'lsa, ularni ham kiritishingiz mumkin
}
export const MultipleSelect: FC<CustomComponentProps>;
}