Accessing props
Given a component liks this:
And later in a functionbody defining this
let a = <Test Test="Test" />
Is there some way to access the Test
prop on a
4 Replies
a in this case is already the div element, so no
Iam trying to push preconstructed elements into a signal
and need to store some metadata
I guess i would have to construct an object and push that?
ty
yea you need some sort of metadata along the element for this
Figured, and its working 🙂