@storybook/addon-links

  • Version 6.3.7
  • Published
  • 57.8 kB
  • 12 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: (kind: string, name: string) => Promise<string>;

    function linkTo

    linkTo: (
    idOrKindInput: string,
    storyInput?: string | ((...args: any[]) => string)
    ) => (...args: any[]) => void;

      function LinkTo

      LinkTo: () => null;
        navigate: (params: ParamsId | ParamsCombo) => void;
          withLinks: (...args: any) => any;

            Package Files (2)

            Dependencies (12)

            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>