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

WIP: Index cards react #165

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

WIP: Index cards react #165

wants to merge 5 commits into from

Conversation

joyceykao
Copy link
Collaborator

Tried to replace the top 5 adventure cards with MUI cards (https://material-ui.com/components/cards/#simple-card), but got stuck on how to pass props to the card component.

In the first pass, I just tried to 1) render the cards as-is and 2) pass the adventure.title as a prop to the component. I got 1) to work, but it totally breaks down and renders nothing when I try to pass in a prop.

Not totally sure what I am doing wrong. @swissbusybee , could you maybe give some pointers here?

@joyceykao joyceykao changed the title Index cards react WIP: Index cards react Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants