bagaimana menambahkan komentar di react js
{/* A JSX comment */}
Wandering Wildebeest
{/* A JSX comment */}
how to add multiple comment in react
{/*
Multi
line
comment
*/}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
<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>