Skip to content

Commit a5e6d19

Browse files
committed
docs: make configuration section responsive
1 parent 2367883 commit a5e6d19

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@ See [CHANGELOG.md](./CHANGELOG.md) for the full list.
6767

6868
Settings live under `reactSnippets.settings.*`. They are application-scoped because VS Code windows share one generated snippet artifact. Reload VS Code when prompted after a change.
6969

70-
| Setting | Type | Default | Description |
71-
| ---------------------------: | :-------- | :------------------------------------------------------ | :------------------------------------------------------------------------------------------------------ |
72-
| `importReactOnTop` | `boolean` | `false` | Add `import React from 'react'` to component snippets. Enable for projects on the legacy JSX transform. |
73-
| `typescript` | `boolean` | `true` | Include TypeScript-specific `ts*`, `exptp`, and `expint` snippets. |
74-
| `languageScopes` | `string` | `typescript,typescriptreact,javascript,javascriptreact` | Comma-separated language scopes where snippets are active. |
75-
| `typescriptPropsStatePrefix` | `string` | `type` | Use `type` or `interface` for Props/State in TypeScript snippets. |
70+
- **`importReactOnTop`** — boolean, default: `false`. Adds `import React from 'react'` to component snippets for projects using the legacy JSX transform.
71+
- **`typescript`** — boolean, default: `true`. Includes TypeScript-specific `ts*`, `exptp`, and `expint` snippets.
72+
- **`languageScopes`** — string. Defaults to TypeScript, TypeScript React, JavaScript, and JavaScript React. Accepts a comma-separated list of VS Code language identifiers.
73+
- **`typescriptPropsStatePrefix`** — string, default: `type`. Use `type` or `interface` for Props and State declarations in TypeScript snippets.
7674

7775
## Editor support
7876

0 commit comments

Comments
 (0)