{/* A JSX comment */}
{/* A JSX comment */}
{/* comment */} or {// comment }
how to add multiple comment in react
{/*
Multi
line
comment
*/}
/*Comment in react js*/ or {/*Another comment*/}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
/**
* @dev returns the current window size
*/
/**
* @dev simple input component
* @props label for input
* @props placeholder for input
* @props named as (important) takes value in true or false to display ( * )
*/