We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use an object literal for a prop value inline, such as options={{ track: true }} below:
options={{ track: true }}
const Component = () => <Child options={{ track: true }}> <div>foo</div> <div>bar</div> <div>jam</div> </Child>
. . .
The highlighting for the line <Child options={{ track: true }}> is a bit off.
<Child options={{ track: true }}>
Just by pulling the object literal out into a variable, we can see how the highlighting kicks back in:
Related: #1236
The text was updated successfully, but these errors were encountered:
f41c5cd
Thanks for reporting. It should be fixed now. Also take a look at #1236 (comment).
Sorry, something went wrong.
No branches or pull requests
Reproducing The Issue
Use an object literal for a prop value inline, such as
options={{ track: true }}
below:. . .
Test Drive Results
The highlighting for the line
<Child options={{ track: true }}>
is a bit off.. . .
Just by pulling the object literal out into a variable, we can see how the highlighting kicks back in:
. . .
Related: #1236
The text was updated successfully, but these errors were encountered: