Explain isSmall proper for CountryDropdown

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Germain 2021-07-20 17:18:33 +01:00 committed by GitHub
parent 596fb774e3
commit 745a8d3860
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ function countryMatchesSearchQuery(query: string, country: PhoneNumberCountryDef
interface IProps {
value?: string;
onOptionChange: (country: PhoneNumberCountryDefinition) => void;
isSmall: boolean;
isSmall: boolean; // if isSmall, show +44 in the selected value
showPrefix: boolean;
className?: string;
disabled?: boolean;