naomi
naomi copied to clipboard
Multiline destructured props are not highlighted as props/arguments
When destructured props are split across multiple lines, they are not highlighted as props/arguments.
Works (highlights prop1, prop2, and prop3 as arguments:
const MyComponent = ({prop1, prop2, prop3}) => ()
Fails (does not highlight the props at all):
const MyComponent = ({
prop1,
prop2,
prop3
}) => ()