So fügen Sie Kommentare in React JS hinzu
{/* A JSX comment */}
Wandering Wildebeest
{/* A JSX comment */}
{/* A JSX comment */}
render() {
return (
<div>
<!-- This doesn't work! -->
</div>
)
}
/**
* @dev simple input component
* @props label for input
* @props placeholder for input
* @props named as (important) takes value in true or false to display ( * )
*/