Как добавить комментарий в React JS
{/* A JSX comment */}
Wandering Wildebeest
{/* A JSX comment */}
{/* A JSX comment */}
how to add multiple comment in react
{/*
Multi
line
comment
*/}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
{/* comment */} or {// comment }
/**
* @dev simple input component
* @props label for input
* @props placeholder for input
* @props named as (important) takes value in true or false to display ( * )
*/