Skip to content

Are composition variables actually supported? #416

@brighttank

Description

@brighttank

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions