Skip to content

Unexpected extra whitespaces before JSXClosingElement #1420

@awx-doma-lei

Description

@awx-doma-lei

Input:

function App() {
  return (
    <Button slim tall noShadow link>
      Button with deprecated props to remove
    </Button>
  );
}

Action:

Remove all props from Button

Output:

image

This issue has existed since 0.23.9, likely caused by #1403.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions