@touchtech/web-navigation-menu 0.0.2-alpha.2 → 0.0.3-alpha.1

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.
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  type Props = {
3
3
  isOpen: boolean;
4
+ portalContainer?: Element | DocumentFragment;
4
5
  onClose: () => void;
5
6
  };
6
- declare function Navigation({ isOpen, onClose }: Props): JSX.Element;
7
+ declare function Navigation({ isOpen, portalContainer, onClose, }: Props): JSX.Element;
7
8
  export default Navigation;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { IconButton } from "@touchtech/baselayer-ui";
3
3
  type IconButtonProps = React.ComponentProps<typeof IconButton>;
4
4
  type Props = Partial<IconButtonProps> & {
5
- navigationContainer?: Element | DocumentFragment;
5
+ portalContainer?: Element | DocumentFragment;
6
6
  };
7
- declare function NavigationButton({ size, alt, src, navigationContainer, ...props }: Props): JSX.Element;
7
+ declare function NavigationButton({ size, alt, src, portalContainer, ...props }: Props): JSX.Element;
8
8
  export default NavigationButton;