You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The documentation on lists has been confusing me. Most of the examples show simple
enum: [1,2,3]
but it gets less clear when you want
I've found 2 formats that work:
and this one
The first
const/title
approach is much cleaner because it only involves one array. The second approach requires keeping the 2 arrays in sync.Does anyone have more insight into this? Thanks
Beta Was this translation helpful? Give feedback.
All reactions