Skip to content

Commit

Permalink
Fix regex typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold authored Jul 16, 2022
1 parent 897f09f commit 8cc06ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/essentials/controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ For a few types, Controls can automatically be infered with [regex](https://deve

| Data type | Default regex | Description |
| :-------: | :-----------------------: | :-------------------------------------------------------: |
| **color** | `/(background\|color)$/i` | Will display a color picker UI for the args that match it |
| **color** | `/(background|color)$/i` | Will display a color picker UI for the args that match it |
| **date** | `/Date$/` | Will display a date picker UI for the args that match it |

If you haven't used the CLI to setup the configuration, or if you want to define your own patterns, use the `matchers` property in the `controls` parameter:
Expand Down

0 comments on commit 8cc06ac

Please sign in to comment.