@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.
15 lines (14 loc) • 480 B
TypeScript
import React from 'react';
import type { ICountry } from './country_data';
export interface ICountryMenuProps {
anchorEl: HTMLElement | null;
defaultCountry?: string;
disabled?: boolean;
allCountries: ReadonlyArray<ICountry>;
highPriorityCountries?: ReadonlyArray<string>;
selectedCountry: ICountry;
onClose?: () => void;
onSelect?: (country: ICountry) => void;
}
declare const CountryMenu: React.FC<ICountryMenuProps>;
export default CountryMenu;