The SettingsCategoryListItem are very nice, however there is one downside. There is almost no customization available for options for a selectable Settings option.
By using new way it would be lot easier to use a value which differs from the text shown to the user.
PS: If this would be changed the onOptionsClick wont return an index anymore but just the value.
Description
The SettingsCategoryListItem are very nice, however there is one downside. There is almost no customization available for options for a selectable Settings option.
As seen here the options prop is just an array of values, wouldn't it be better if you could for example send an array of objects.
By using new way it would be lot easier to use a value which differs from the text shown to the user. PS: If this would be changed the onOptionsClick wont return an index anymore but just the value.