@transferwise/components 45.24.0 → 45.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.esm.js
CHANGED
|
@@ -6096,7 +6096,8 @@ const Info = ({
|
|
|
6096
6096
|
presentation = InfoPresentation.POPOVER,
|
|
6097
6097
|
size = Size.SMALL,
|
|
6098
6098
|
title = undefined,
|
|
6099
|
-
'aria-label': ariaLabel
|
|
6099
|
+
'aria-label': ariaLabel,
|
|
6100
|
+
preferredPlacement = Position.BOTTOM
|
|
6100
6101
|
}) => {
|
|
6101
6102
|
const [open, setOpen] = useState(false);
|
|
6102
6103
|
const isModal = presentation === InfoPresentation.MODAL;
|
|
@@ -6131,7 +6132,7 @@ const Info = ({
|
|
|
6131
6132
|
})]
|
|
6132
6133
|
}) : /*#__PURE__*/jsx(Popover$2, {
|
|
6133
6134
|
content: content,
|
|
6134
|
-
preferredPlacement:
|
|
6135
|
+
preferredPlacement: preferredPlacement,
|
|
6135
6136
|
title: title,
|
|
6136
6137
|
children: /*#__PURE__*/jsx("button", {
|
|
6137
6138
|
type: "button",
|