Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
talkor committed Dec 4, 2023
1 parent c36a8a6 commit af1ac27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/storybook-link/storybook-link.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { FC, useEffect, useState } from 'react';
import Link, { LinkProps } from '../link/link';
import Link from '../link/link';
import { hrefTo } from '@storybook/addon-links';
import { LinkSize } from '../link/LinkConstants';
import { withStaticProps } from '../../types';

interface StorybookLinkProps extends LinkProps {
interface StorybookLinkProps {
page: string;
children: string;
story?: string;
size?: LinkSize;
}

const StorybookLink: FC<StorybookLinkProps> & { sizes?: typeof LinkSize } = ({ page, story = '', children, size }) => {
Expand Down

0 comments on commit af1ac27

Please sign in to comment.