Problem
The documentation mentions adding variables to compositions but there is no mention of how to actually use them. Looking at the sample components everything seems to be hard-coded.
Given the example in the docs:
<div data-composition-id="card" data-var-title="string" data-var-color="color">
How would I actually use the values for title and color within the component?
Proposed solution
I'm not sure what the current intention is based on the docs.
Alternatives considered
No response
Additional context
No response
Problem
The documentation mentions adding variables to compositions but there is no mention of how to actually use them. Looking at the sample components everything seems to be hard-coded.
Given the example in the docs:
<div data-composition-id="card" data-var-title="string" data-var-color="color">How would I actually use the values for title and color within the component?
Proposed solution
I'm not sure what the current intention is based on the docs.
Alternatives considered
No response
Additional context
No response