Home > mui-country-code-selector > defaultGetOptionKey
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Default function for getting the option key string in the CountryCodeSelector's underlying Autocomplete component. See https://mui.com/material-ui/api/autocomplete/#autocomplete-prop-getOptionKey for more information about the getOptionKey prop.
Signature:
export declare function defaultGetOptionKey(option: CountryType): string;
|
Parameter |
Type |
Description |
|---|---|---|
|
option |
string
The string to be used as the key of the option.