PlanB-Network / bitcoin-learning-management-system

PlanB Network
20 stars 17 forks source link

create FilterBar component #6

Closed ac1dbunny21 closed 1 week ago

ac1dbunny21 commented 1 year ago

we want to:

  1. create a new FilterBar component, that should be "collapsable"
    • in collapsed state, the component should look like that
    • in expanded state, the component should look like that
      • it should contain selector for difficulty (single/radio) and tags (multi/checkboxes)
    • the component should accept the following props (non exhaustive):
      • onFilterChange: a function used in container to refetch items with updated filters
  2. adapt our Storybook accordingly

Image Image

louneskmt commented 1 year ago

There is the collapsed version (or at least some of it) in the Builders page.

louneskmt commented 1 year ago

Component created in 71fd63a6f6775fa070ceb25cff00a3e28e69778a and 2a774879308aba1514c239cdc50ec3093e2bcec3. We only have the collapsed state but we don't need much more for now.