Skip to content

Commit

Permalink
commas
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardTMiles committed Jul 28, 2023
1 parent c9463cf commit b9bf801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ postcss([

### localsConvention

Type: `String | (originalClassName: string, generatedClassName: string, inputFile: string) => className: string`
Type: `String | (originalClassName: string, generatedClassName: string, inputFile: string) => className: (string|string[])`
Default: `null`

Style of exported classnames, the keys in your json.
Expand All @@ -202,7 +202,7 @@ Style of exported classnames, the keys in your json.
| **`'camelCaseOnly'`** | `{String}` | Class names will be camelized, the original class name will be removed from the locals |
| **`'dashes'`** | `{String}` | Only dashes in class names will be camelized |
| **`'dashesOnly'`** | `{String}` | Dashes in class names will be camelized, the original class name will be removed from the locals |
| **`'all'`** | `{String}` | Apply camelCase dashes and the orignional naming convention |
| **`'all'`** | `{String}` | Apply camelCase, dashes, and the orignional naming convention |
| **`'none'`** | `{String}` | Only use the orignional naming convention with out locals |

In lieu of a string, a custom function can generate the exported class names.
Expand Down

0 comments on commit b9bf801

Please sign in to comment.