Migrate Welcome to TypeScript

This commit is contained in:
Germain Souquet 2021-07-15 15:45:36 +02:00
parent 3b5266071e
commit 54bfe8ec1e
3 changed files with 8 additions and 14 deletions

View file

@ -160,13 +160,3 @@ export default class CountryDropdown extends React.Component<IProps, IState> {
</Dropdown>;
}
}
CountryDropdown.propTypes = {
className: PropTypes.string,
isSmall: PropTypes.bool,
// if isSmall, show +44 in the selected value
showPrefix: PropTypes.bool,
onOptionChange: PropTypes.func.isRequired,
value: PropTypes.string,
disabled: PropTypes.bool,
};