@everlywell/consumer-ui 1.18.0 → 1.19.0
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.
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LinkProps } from '../../../../../../ui-kit/src/index.ts';
|
|
2
|
+
import { ReactElement } from 'react';
|
|
3
|
+
export interface DesktopNavbarLink extends LinkProps {
|
|
4
|
+
label: string;
|
|
5
|
+
additionalContent?: string | ReactElement;
|
|
6
|
+
}
|
|
7
|
+
declare const DesktopNavLink: ({ label, additionalContent, ...wrapperProps }: DesktopNavbarLink) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default DesktopNavLink;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import DesktopNavLink from './DesktopNavLink';
|
|
3
|
+
declare const meta: Meta<typeof DesktopNavLink>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof DesktopNavLink>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithStringAdditionalContent: Story;
|
|
8
|
+
export declare const WithElementAdditionalContent: Story;
|