I’m at the beginning of a rewrite of an app from rails to ember. I want to make some components that I can reuse across the app but they have slight differences. Here are images of the panel headers on four seperate pages:
When clicked they open up to this:
I was thinking about something like this:
{{#content-panel}}
{{content-panel-header}}
{{content-panel-body}}
{{/content-panel}}
Does this seem reasonable? Is there a best practice for nested components?
Thank you for your time.