diff --git a/docs/fundamentals/systems/overlays/configuration.md b/docs/fundamentals/systems/overlays/configuration.md index 9c7880efd..4b0bb1fe9 100644 --- a/docs/fundamentals/systems/overlays/configuration.md +++ b/docs/fundamentals/systems/overlays/configuration.md @@ -77,17 +77,14 @@ As specified in the [overlay rationale](./rationale.md) there are only two offic Since most overlays have interactive content the default is set to dialogs. To get a tooltip, you can add `isTooltip` to the config object. This only works for local placement and it also needs to have `handlesAccessibility` activated to work. ```js preview-story - const tooltipConfig = { ...withTooltipConfig() }; +const tooltipConfig = { ...withTooltipConfig() }; - return html` - - -
Hello!
-
- `; -}; +return html` + + +
Hello!
+
+`; ``` ## trapsKeyboardFocus