Skip to content

Commit dcf0d55

Browse files
authored
feat: Document new transactionToSearchTerm Toolbar config field (#13127)
1 parent 2773ebb commit dcf0d55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/product/sentry-toolbar/setup.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ The complete list of options is here:
9797
| `domId (optional)` | `string \| undefined` | The `id` given to the \<div\> that is created to contain the Toolbar html. | `'sentry-toolbar'` |
9898
| `debug (optional)` | `string \| undefined` | A comma separated string of debug targets to enable. Example: `'logging,state'`. If the list contains 'all' or 'true' then all targets will be enabled. Valid targets: `'logging' 'login-success' 'settings' 'state'` | `undefined` |
9999
| `mountPoint (optional)` | `HTMLElement \| () => HTMLElement \| undefined` | Where to mount the Toolbar in the DOM. | `document.body` |
100+
| `transactionToSearchTerm (optional)` | `(transactionName: string) => string` | Hook to transform transactionName into a search term | See [transactionToSearchTerm.ts](https://github.com/getsentry/sentry-toolbar/blob/main/src/lib/utils/transactionToSearchTerm.ts) |
100101

101102
### Extra React Hook Options
102103

0 commit comments

Comments
 (0)