@seontechnologies/seon-id-verification
Version:
An advanced SDK featuring web components for natural person identification through document scanning, facial recognition, hand gesture, and face turning detection, designed for secure and efficient user verification.
21 lines (20 loc) • 779 B
TypeScript
import React from 'react';
type SelectProps<ValueType extends string | number> = {
options: TOption<ValueType>[];
onChange: (value: TOption<ValueType>) => void;
idPrefix: string;
label?: string;
placeholder: TOption<ValueType>;
disabled?: boolean;
required?: boolean;
value?: TOption<ValueType>;
chevronPosition?: 'bottom' | 'right';
};
export type TOption<ValueType extends string | number> = {
iconSrc?: string;
iconComponent?: React.ReactNode;
value: ValueType;
text: string;
};
declare function SelectInput<ValueType extends string | number>({ options, onChange, idPrefix, label, placeholder, disabled, value, chevronPosition }: SelectProps<ValueType>): import("react/jsx-runtime").JSX.Element;
export default SelectInput;