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
Hi! Is there any way to prevent the react-element-to-jsx-string to breaking lines on an array value props? Bellow follows an example:
react-element-to-jsx-string
Input code
<Row> <Cell> <Block>[1, 2, 3, 4, 6, 12]</Block> </Cell> <Cell size={[8, 2, 3, 4, 6, 6]}> <Block>[8, 2, 3, 4, 6, 6]</Block> </Cell> <Cell size={[null, null, null, null, null, 6]}> <Block>[1, 2, 3, 4, 6, 6]</Block> </Cell> <Cell size={[2]}> <Block>[2, 2, 3, 4, 6, 12]</Block> </Cell> </Row>
Output formatted code
<Row> <Cell> <Block> [1, 2, 3, 4, 6, 12] </Block> </Cell> <Cell size={[ 8, 2, 3, 4, 6, 6 ]} > <Block> [8, 2, 3, 4, 6, 6] </Block> </Cell> <Cell size={[ null, null, null, null, null, 6 ]} > <Block> [1, 2, 3, 4, 6, 6] </Block> </Cell> <Cell size={[ 2 ]} > <Block> [2, 2, 3, 4, 6, 12] </Block> </Cell> </Row>
The text was updated successfully, but these errors were encountered:
This seems to be a problem upstream with https://github.com/algolia/react-element-to-jsx-string/
Sorry, something went wrong.
No branches or pull requests
Hi!
Is there any way to prevent the
react-element-to-jsx-string
to breaking lines on an array value props? Bellow follows an example:Input code
Output formatted code
The text was updated successfully, but these errors were encountered: