How to get Emmet to generate a custom JSX attribute without quotes

Viewed 1100

I'm trying to remove the quotes generated by Emmet around the props.onInitiateBattle value for custom attribute onClick.

My input (then CTRL + E to expand, similar to tab):
button.btn[type="button"][onClick={props.onInitiateBattle}]

Emmet's output:
<button className="btn" type="button" onClick="{props.onInitiateBattle}"></button>

Notice props.onInitiateBattle WITH quotes, which isn't good.

What I expect (props... WITHOUT quotes):
<button className="btn" type="button" onClick={props.onInitiateBattle}></button>

Wrapping it around double brackets doesn't work either.

1 Answers
Related