@apolitical/component-library 7.0.3-ac.13 → 7.0.3-ac.14
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,2 +1,2 @@
|
|
|
1
|
-
export type { IMoreMenuOptions } from './more-menu';
|
|
1
|
+
export type { IMoreMenuProps, IMoreMenuOptions } from './more-menu';
|
|
2
2
|
export { default as MoreMenu } from './more-menu';
|
|
@@ -17,7 +17,7 @@ export interface IMoreMenuOptions {
|
|
|
17
17
|
/** The Jest test ID */
|
|
18
18
|
'data-testid'?: string;
|
|
19
19
|
}
|
|
20
|
-
interface
|
|
20
|
+
export interface IMoreMenuProps {
|
|
21
21
|
/** The element to wrap around the content */
|
|
22
22
|
element?: 'div' | 'li' | 'p';
|
|
23
23
|
/** An id for the menu */
|
|
@@ -29,7 +29,7 @@ interface Props {
|
|
|
29
29
|
/** The language to use */
|
|
30
30
|
locale?: string;
|
|
31
31
|
}
|
|
32
|
-
declare const MoreMenu: ({ element, id, options, className, }:
|
|
32
|
+
declare const MoreMenu: ({ element, id, options, className, }: IMoreMenuProps) => React.DetailedReactHTMLElement<{
|
|
33
33
|
ref: React.RefObject<HTMLDivElement | HTMLParagraphElement | HTMLLIElement>;
|
|
34
34
|
className: string;
|
|
35
35
|
children: import("react/jsx-runtime").JSX.Element;
|