Skip to content

React.Attributes should be implemented #38

Open
@Nidoxs

Description

@Nidoxs

This will allow attributes to be applied to instances. While I've not had a need for this myself, there's others who have and I think it'd be an appropriate addition to the prop marker symbols.

Example:

return e("TextLabel", {
    [React.Attributes] = {
        Test = 100,
        MyBool = false
    }
})

Draft PR for full changes proposed:
#39

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions