komposable / komponent

An opinionated way of organizing front-end code in Ruby on Rails, based on components
http://komponent.io
MIT License
428 stars 31 forks source link

Makes component_name variable accessible for example generator #159

Open kinduff opened 4 years ago

kinduff commented 4 years ago

Closes #158

Not sure if this is the right approach or if we can simply use @component.id for the call.

Let me know if this is okay.

Spone commented 4 years ago

Thank you for contributing! Your approach makes sense, I'm not sure if there is a simpler way. What do you think @nicolas-brousse?