adobe / adobe/react-webcomponent

@byContent should have a default functionality when no parameters are passed

Open
#10 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
104
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Like the @byAttrVal annotation, when no parameters are passed, there is a default behaviour (in that case, matching the attribute with the same name of the property).

When I use @byContent without parameters, `@byContent()`, I expect a list of nodes, or a node (like a React.Fragment) wrapping everything inside the web component, maybe like the normal `this.props.children` property.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.