How can I turn my code on save
return (
<div>
<h2>{counter}</h2>
<button className="btn" onClick={handleClick} type="button" style={{ marginTop: '20px' }}
>
increase
</button>
</div>
)
into this format in vscode I use prettier but it didnt work.
return (
<div>
<h2>{counter}</h2>
<button
className="btn"
onClick={handleClick}
type="button"
style={{ marginTop: '20px' }}
>
increase
</button>
</div>
)