UNPKG

@betterstore/react

Version:

E-commerce for Developers

23 lines (22 loc) 602 B
import React from "react"; export interface Country { alpha2: string; alpha3: string; countryCallingCodes: string[]; currencies: string[]; emoji?: string; ioc: string; languages: string[]; name: string; status: string; } interface CountryDropdownProps { options?: Country[]; onChange?: (country: Country) => void; defaultValue?: string; disabled?: boolean; placeholder?: string; slim?: boolean; } export declare const CountryDropdown: React.ForwardRefExoticComponent<CountryDropdownProps & React.RefAttributes<HTMLButtonElement>>; export {};