Last active
August 7, 2016 06:51
-
-
Save ahomu/aa5031a3500dacaf33108bc9c005a64b to your computer and use it in GitHub Desktop.
HTML や XML の属性値で改行するときってさぁ(インデントルール)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// これより | |
<SomeComponent | |
propA={} | |
propB={} | |
propC={} | |
propD={} | |
propE={} /> | |
// こうが好き | |
<SomeComponent propA={} | |
propB={} | |
propC={} | |
propD={} | |
propE={} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ゆーてサンプルが JSX になってた。すまん。