@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
9 lines (8 loc) • 335 B
TypeScript
import { CountryIso2 } from 'react-international-phone';
/**
* Returns the default countries if the provided countries array is empty.
*
* @param countries - An array of country ISO2 codes.
* @returns An array of country ISO2 codes.
*/
export declare const getDefaultCountriesIfEmpty: (countries: CountryIso2[]) => CountryIso2[];