graasp / graasp/client

Improve item status badge component

Open
#689 0 comments 0 reactions 1 assignee Claimed by @spaenleh View on GitHub
improvement
Dominant language
TypeScript
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

This shows that the current API is a bit clunky, it means that adding or removing badges requires changes in both the provider and the consumer.

In the future, would it make more sense to have something like:
```jsx

{isPinned && }
{isHidden && }
... // etc

```

_Originally posted by @dialexo in https://github.com/graasp/graasp-builder/pull/611#discussion_r1166648758_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.