Skip to content

Commit d6ba759

Browse files
Billy-gajus
authored andcommitted
docs: fix formatting (gajus#142)
1 parent 4dec7a5 commit d6ba759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ NODE_ENV=production ./test
164164
1. Iterates through all [JSX](https://facebook.github.io/react/docs/jsx-in-depth.html) element declarations.
165165
1. Parses the `styleName` attribute value into anonymous and named CSS module references.
166166
1. Finds the CSS class name matching the CSS module reference:
167-
* If `styleName` value is a string literal, generates a string literal value.
168-
* If `styleName` value is a [`jSXExpressionContainer`](https://github.com/babel/babel/tree/master/packages/babel-types#jsxexpressioncontainer), uses a helper function ([`getClassName`](./src/getClassName.js)) to construct the `className` value at the runtime.
167+
* If `styleName` value is a string literal, generates a string literal value.
168+
* If `styleName` value is a [`jSXExpressionContainer`](https://github.com/babel/babel/tree/master/packages/babel-types#jsxexpressioncontainer), uses a helper function ([`getClassName`](./src/getClassName.js)) to construct the `className` value at the runtime.
169169
1. Removes the `styleName` attribute from the element.
170170
1. Appends the resulting `className` to the existing `className` value (creates `className` attribute if one does not exist).
171171

0 commit comments

Comments
 (0)