labeleven-dev / bettercallsol

The missing Solana client
https://bettercallsol.dev
Apache License 2.0
50 stars 6 forks source link

Refactor sortable lists #59

Open sohrab- opened 2 years ago

sohrab- commented 2 years ago

We have the same repeating pattern of a Sortable with children, each with their own "Remove" button and an "Add" button at the bottom.

Ideally this should be abstracted away into one or more components. The trick would be to not make styling the components hard or impossible.

This can even allow us to hide the SortableCollections within these new components so the interface has a clean array of items.