bd-geo-info
Version:
A comprehensive Bangladesh geographical data package with hierarchical selection and address form components
20 lines (19 loc) • 741 B
TypeScript
import React from 'react';
import { Upazila, UnionData } from '../types';
interface UnionSelectProps {
upazila?: Upazila;
value?: UnionData;
onChange?: (union: UnionData) => void;
language?: 'en' | 'bn';
className?: string;
placeholder?: string;
customLabel?: string | React.ReactNode;
customError?: string | React.ReactNode;
theme?: any;
errorClassName?: string;
labelClassName?: string;
containerClassName?: string;
showLabels?: boolean;
}
export default function UnionSelect({ upazila, value, onChange, language, className, placeholder, customLabel, customError, theme, errorClassName, labelClassName, containerClassName, showLabels, }: UnionSelectProps): React.JSX.Element;
export {};