From fde68f87da7b7fe35320939f6f7cc3c01c8cfadd Mon Sep 17 00:00:00 2001 From: Maxime Warnier Date: Wed, 10 May 2017 10:41:22 +0200 Subject: [PATCH] Missing parenthesis in popover doc Because of depreciation of smart positioning option, looking at the doc and just copypaste the example could throw an error. --- packages/core/src/components/popover/popover.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/popover/popover.tsx b/packages/core/src/components/popover/popover.tsx index a3a586684a..861ce9c877 100644 --- a/packages/core/src/components/popover/popover.tsx +++ b/packages/core/src/components/popover/popover.tsx @@ -192,7 +192,7 @@ export interface IPopoverProps extends IOverlayableProps, IProps { * enough room in the viewport. This is equivalent to: * ``` * const tetherOptions = { - * constraints: { attachment: "together", to: "scrollParent" }, + * constraints: [{ attachment: "together", to: "scrollParent" }] * }; * ``` * @default false