From 03a90637bd5114f946c61b66a38461ddb6f1f802 Mon Sep 17 00:00:00 2001 From: Tobias Kuppens Groot Date: Wed, 4 Jan 2023 12:59:49 +0100 Subject: [PATCH] docs: fix TemplateContentRenderError - format section isTooltip - removed trailing closing brackets which caused the error Signed-off-by: Tobias Kuppens Groot --- .../systems/overlays/configuration.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) 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