Add typescript

(cherry picked from commit 910511dba03196f14bb238c8e15f060c12183c08)
This commit is contained in:
Mark McDowall 2023-01-05 18:43:51 -08:00 committed by Bogdan
parent f38f00c64e
commit eacaf9be32
17 changed files with 635 additions and 38 deletions

View file

@ -27,6 +27,7 @@ SortMenuItem.propTypes = {
name: PropTypes.string,
sortKey: PropTypes.string,
sortDirection: PropTypes.oneOf(sortDirections.all),
children: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
onPress: PropTypes.func.isRequired
};