Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add component view/Labels #28

Open
galhavivi opened this issue Feb 13, 2020 · 0 comments
Open

Add component view/Labels #28

galhavivi opened this issue Feb 13, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@galhavivi
Copy link
Member

Add view component of Label to react-components package.

  • expected value - array of strings.

  • should have a state option of "inline" (default is true).

  • if inline = true, render the array of string as arr.join(', ').
    Should also have a "maxItems" (default to 20), and if has more items than 20 show a link of "Show all". When clicking it - it should open a modal that shows all the labels in a scrollable div, each item in one line.

  • if inline=false, render items in a scrollable div (max-height default to 150px). Each array item in one line

  • Add also an .md file similar to other components

@galhavivi galhavivi added enhancement New feature or request good first issue Good for newcomers labels Feb 13, 2020
@galhavivi galhavivi added the help wanted Extra attention is needed label Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant