@tap-payments/os-micro-frontend-shared 0.0.228-test.18 → 0.0.228-test.19

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,5 +1,6 @@
1
1
  import React, { CSSProperties, ReactNode } from 'react';
2
2
  import { type SxProps, type Theme } from '@mui/material/styles';
3
+ import { StyledMenu } from './styles';
3
4
  export interface MenuItemI {
4
5
  label?: string | null | ReactNode;
5
6
  name?: string;
@@ -12,7 +13,7 @@ export interface MenuItemI {
12
13
  alwaysShowRightAction?: boolean;
13
14
  sx?: SxProps<Theme>;
14
15
  }
15
- export interface IProps {
16
+ export interface IProps extends React.ComponentProps<typeof StyledMenu> {
16
17
  open: boolean;
17
18
  onClose: () => void;
18
19
  menuItems: MenuItemI[];
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.228-test.18",
5
- "testVersion": 18,
4
+ "version": "0.0.228-test.19",
5
+ "testVersion": 19,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",