@storybook/addon-links

  • Version 8.4.7
  • Published
  • 18.9 kB
  • 3 dependencies
  • MIT license

Install

npm i @storybook/addon-links
yarn add @storybook/addon-links
pnpm add @storybook/addon-links

Overview

Link stories together to build demos and prototypes with your UI components

Index

Functions

function hrefTo

hrefTo: (title: ComponentTitle, name: StoryName) => Promise<string>;

    function linkTo

    linkTo: (
    idOrTitle: string | ((...args: any[]) => string),
    nameInput?: string | ((...args: any[]) => string)
    ) => (...args: any[]) => void;
      navigate: (params: ParamsId | ParamsCombo) => void;
        withLinks: (...args: any) => any;

          Package Files (1)

          Dependencies (3)

          Dev Dependencies (1)

          Peer Dependencies (2)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/addon-links.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/addon-links)
          • HTML
            <a href="https://www.jsdocs.io/package/@storybook/addon-links"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>