UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

25 lines (24 loc) 822 B
import { SelectProps } from '@mui/material/Select'; export interface ICountrySelect extends Omit<SelectProps, 'onChange' | 'children'> { /** * Determines whether the none option is included * @default false */ includeNoneOption?: boolean; /** * The callback fired when the value changes. * @param {string} value - provides the value of the selected country */ onChange?: (value: string) => void; /** * The excluded countries, e.g. ['us', 'ca'] * @default undefined */ includeCountries?: ReadonlyArray<string>; /** * The included countries, e.g. ['us', 'ca'] * @default undefined */ excludeCountries?: ReadonlyArray<string>; } export declare const CountrySelect: (props: ICountrySelect) => import("react/jsx-runtime").JSX.Element;