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

Category and File View components #16

Closed
PatrickBrown1 opened this issue Jan 14, 2022 · 0 comments · Fixed by #24
Closed

Category and File View components #16

PatrickBrown1 opened this issue Jan 14, 2022 · 0 comments · Fixed by #24

Comments

@PatrickBrown1
Copy link
Collaborator

Create two components

  1. A "File Entry" component, where it shows the name of the file,
    image
  2. A "Category" component, where it expands on click to show children file components. It should take in a list of file objects and render them into File Entry components. If the list passed in through props is empty, then show text saying something like "There are no files in this category".

Screen Shot 2022-01-14 at 12 07 13 PM

Make the buttons in the file entry and category components clickable, but just make it alert something like "Add file clicked for category ___".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants