mayu

Context

This demo shows how to use context in a component.

This is what the tree looks like:

  • page.haml
    • Consumer.haml
    • Hello.haml
      • Consumer.haml
Theme:
"light"

This is Hello.haml which renders the consumer:

"light"