@uob-web-and-digital/component-library 2.20.15 → 2.20.17

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.
@@ -21,11 +21,8 @@ export interface DocumentSectionItemProps {
21
21
  }, options?: {
22
22
  forceOpen?: boolean;
23
23
  }) => void;
24
- onFocusActivate?: (data: {
25
- title: string;
26
- anchor: string;
27
- subsections: DocumentSectionSubsection[];
28
- }) => void;
29
24
  isActive?: boolean;
25
+ firstFlyoutLinkRef?: React.RefObject<HTMLAnchorElement>;
30
26
  }
31
- export default function DocumentSectionItem({ title, anchor, subsections, onActivate, onFocusActivate, icon, iconPosition, theme, inverse, isActive }: DocumentSectionItemProps): React.ReactElement;
27
+ declare const DocumentSectionItem: React.ForwardRefExoticComponent<DocumentSectionItemProps & React.RefAttributes<HTMLAnchorElement>>;
28
+ export default DocumentSectionItem;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import type { StoryObj } from '@storybook/react';
2
3
  import DocumentSectionItem from './DocumentSectionItem';
3
4
  declare const meta: {
4
5
  title: string;
5
- component: typeof DocumentSectionItem;
6
+ component: React.ForwardRefExoticComponent<import("./DocumentSectionItem").DocumentSectionItemProps & React.RefAttributes<HTMLAnchorElement>>;
6
7
  tags: string[];
7
8
  };
8
9
  export default meta;