react-data-entry
Version:
React data entry components library
31 lines (30 loc) • 770 B
TypeScript
import React from "react";
interface CustomSelectProps {
options: {
id: string;
full_name: string;
phone_number: string;
}[];
label?: string;
required?: string[];
type?: "number";
name: string;
placeholder?: string;
handleChange: (id: string, phone_number: string, full_name: string) => void;
values: {
[key: string]: any;
};
errors: string[];
validate: {
[key: string]: string;
};
inputStyle?: React.CSSProperties;
direction?: "row" | "column" | "row-reverse" | "column-reverse";
configUI?: {
[key: string]: string;
};
disabled?: boolean;
[x: string]: any;
}
declare const CustomSelect: React.FC<CustomSelectProps>;
export default CustomSelect;