Skip to content

Commit 6aea011

Browse files
SliverYukijarikmarwedekamranahmedse
authored
Add missing option (#562)
* Update configuration.mdx Adding instructions for the overlayClickBehavior configuration option. * Update docs/src/content/guides/configuration.mdx Co-authored-by: Jarik Marwede <account@jarikmarwede.com> * Update docs/src/content/guides/configuration.mdx Co-authored-by: Jarik Marwede <account@jarikmarwede.com> --------- Co-authored-by: Jarik Marwede <account@jarikmarwede.com> Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
1 parent 1a36d65 commit 6aea011

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/src/content/guides/configuration.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ type Config = {
3333
allowClose?: boolean;
3434
// Opacity of the backdrop. (default: 0.5)
3535
overlayOpacity?: number;
36+
// What to do when the overlay backdrop is clicked.
37+
// Possible options are 'close' and 'nextStep'. (default: 'close')
38+
overlayClickBehavior?: string,
3639
// Distance between the highlighted element and the cutout. (default: 10)
3740
stagePadding?: number;
3841
// Radius of the cutout around the highlighted element. (default: 5)
@@ -246,4 +249,4 @@ type State = {
246249
// container, title, description, buttons etc.
247250
popover?: PopoverDOM;
248251
}
249-
```
252+
```

0 commit comments

Comments
 (0)