@oc-digital/react-component-library 8.21.2-beta.0 → 8.21.2-beta.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.
@@ -11,19 +11,19 @@ type IExpandedOptions = {
11
11
  view: string;
12
12
  expanded: boolean;
13
13
  };
14
- interface IRouteableMainNavigationItem {
14
+ interface IMainNavigationItemBase {
15
15
  id: string;
16
16
  name: ReactChild;
17
- route: string;
18
17
  archived?: boolean;
19
18
  disableSubItemCount?: boolean;
19
+ Icon?: React.FC<ISvgComponentProps>;
20
+ highlight?: boolean;
20
21
  }
21
- interface INotRouteableMainNavigationItem {
22
- id: string;
23
- name: ReactChild;
22
+ interface IRouteableMainNavigationItem extends IMainNavigationItemBase {
23
+ route: string;
24
+ }
25
+ interface INotRouteableMainNavigationItem extends IMainNavigationItemBase {
24
26
  notRoutable: boolean;
25
- archived?: boolean;
26
- disableSubItemCount?: boolean;
27
27
  }
28
28
  export interface ISecondaryNavigationSubItem {
29
29
  id: string;