Closed markafitzgerald1 closed 6 months ago
Ranks now have labels. Perhaps try to do the same for ranks in dealt cards before final PR review and merge. (Is dealOrder
really required in props or to sort card arrays? I suspect not as the original deal order should always be handed in from higher components and app state.)
https://storybook.js.org/docs/api/arg-types#options, possibly with a
mapping
and even perhaps aselect
control
withlabels
(https://stackoverflow.com/a/69390407/1840078) seems like a promising route to giving the sort order (and rank!) better UI than just numbers in Storybook.