16 lines
345 B
TypeScript
16 lines
345 B
TypeScript
export interface StateInputProps {
|
|
className?: string;
|
|
label: string;
|
|
id: string;
|
|
autoComplete?: string;
|
|
value: string;
|
|
country: string;
|
|
onChange: ( value: string ) => void;
|
|
required?: boolean;
|
|
errorMessage?: string;
|
|
}
|
|
|
|
export type StateInputWithStatesProps = StateInputProps & {
|
|
states: Record< string, Record< string, string > >;
|
|
};
|