Answers for "comments in react healmte"

29

how to add comment in react js

{/* A JSX comment */}
Posted by: Guest on July-06-2020
0

Comments inside children section of tag should be placed inside braces

<div className="dropdown">
    {/* whenClicked is a property not an event, per se. */}
    <Button whenClicked={this.handleClick} className="btn-default" title={this.props.title} subTitleClassName="caret"></Button>
    <UnorderedList />
</div>
Posted by: Guest on January-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language