StoryShop / app

Frontend app for storyshopapp.com
14 stars 4 forks source link

add gene removal icons to DNA component #88

Closed joshdmiller closed 8 years ago

joshdmiller commented 8 years ago

Overview

Add a right "trash" icon that appears on hover to each character gene, dispatching the deleteGene callback on click with the character ID and the index of the gene to delete.

Add or update the component story.

chrisharrington commented 8 years ago

Edit: you can disregard this; I figured it out enough to move forward.

@joshdmiller Do you happen to have a list of props that the DNA component is expecting? I see that a gene is one of them. What properties does the gene class have? I'm looking to create a story for the DNA component and want to make sure I have all the right props.