Skip to content

Instantly share code, notes, and snippets.

@ljack
Created April 21, 2016 11:16
Show Gist options
  • Save ljack/7ae86f7fcf7675407090d1d377818571 to your computer and use it in GitHub Desktop.
Save ljack/7ae86f7fcf7675407090d1d377818571 to your computer and use it in GitHub Desktop.
JSX code beautifier problem
// Component which groups row buttons
export default const ButtonsComponent = React.createClass({
render: function() {
// console.log("ButtonsComponent: render this=", this);
const paddingStyle = {
leftPadding: "5px"
};
return ( < form className = "form-inline"
style = {
paddingStyle
} >
<
CodeButton rowData = {
this.props.rowData
}
/> < EditComponent rowData = {
this.props.rowData
}
/> < DeleteComponent rowData = {
this.props.rowData
}
/> < JsonComponent rowData = {
this.props.rowData
}
/> < StartButton rowData = {
this.props.rowData
}
/> </form > );
}
});
@ljack
Copy link
Author

ljack commented Apr 21, 2016

So,
is there actually fully working code beautifier for JSX somewhere? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment