Skip to content

Commit 4798257

Browse files
mueschaLekoArts
andauthored
readme(gatsby-plugin-emotion): fix table (#28906)
Co-authored-by: Lennart <[email protected]>
1 parent 712e864 commit 4798257

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/gatsby-plugin-emotion/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ module.exports = {
4141

4242
The plugin supports the same options that you can pass into [`@emotion/babel-plugin`](https://emotion.sh/docs/@emotion/babel-plugin#options).
4343

44-
| Option | Type | Description | Default | Required |
45-
| ------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
46-
| sourceMap | boolean | Tells the plugin to inject source maps for use in browser dev tools in development. | `true` | |
47-
| autoLabel | `'dev-only' | 'always' | 'never'` | Automatically adds the label property to styles so that class names generated by css or styled include the name of the variable the result is assigned to. You can read more about this option in [`@emotion/babel-plugin`'s docs](https://emotion.sh/docs/@emotion/babel-plugin#autolabel) | `dev-only` | |
48-
| labelFormat | string | Only works when `autoLabel` is set to true. It allows you to define the format of the resulting label. The format is defined via string where variable parts are enclosed in square brackets []. For example `labelFormat: "my-classname--[local]"`, where `[local]` will be replaced with the name of the variable the result is assigned to. | "[local]" | |
49-
| cssPropOptimization | boolean | Assumes that you are using something to make `@emotion/react`’s jsx function work for all jsx. If you are not doing so and you do not want such optimizations to occur, disable this option. | `true` | |
44+
| Option | Type | Description | Default | Required |
45+
| --------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | -------- |
46+
| `sourceMap` | boolean | Tells the plugin to inject source maps for use in browser dev tools in development. | `true` | |
47+
| `autoLabel` | `'dev-only' 'always' 'never'` | Automatically adds the label property to styles so that class names generated by css or styled include the name of the variable the result is assigned to. You can read more about this option in [`@emotion/babel-plugin`'s docs](https://emotion.sh/docs/@emotion/babel-plugin#autolabel) | `dev-only` | |
48+
| `labelFormat` | string | Only works when `autoLabel` is set to true. It allows you to define the format of the resulting label. The format is defined via string where variable parts are enclosed in square brackets `[]`. For example `labelFormat: "my-classname--[local]"`, where `[local]` will be replaced with the name of the variable the result is assigned to. | `"[local]"` | |
49+
| `cssPropOptimization` | boolean | Assumes that you are using something to make `@emotion/react`’s jsx function work for all jsx. If you are not doing so and you do not want such optimizations to occur, disable this option. | `true` | |

0 commit comments

Comments
 (0)