How to use the @storybook/addon-links.linkTo function in @storybook/addon-links

To help you get started, we’ve selected a few @storybook/addon-links examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rafaelrozon / react-storybook-console / stories / index.stories.js View on Github external
storiesOf('Welcome', module).add('to Storybook', () => );
github walmartlabs / concord / console / src / stories / index.js View on Github external
storiesOf('Welcome', module).add('to Storybook', () => );
github ReactBeerLille / storybook-talk / src / Components / Tabs / stories.js View on Github external
.add('With all tabs disabled', () => (
    
      
        <div label="Tab 1">
          
        </div>
        <div label="Tab 2">
          
        </div>
        <div label="Tab 3">
          
        </div>
      
      
        Okay, thanks!
      
    
  ));
github LeadcoinNetwork / Web-App-Project / frontend / src / storybook-examples / storybook.link.stories.js View on Github external
storiesOf("Example Stories/link", module).add("link", () =&gt; (
  <div>
    Click here to link to other story
  </div>
))
github storybookjs / storybook / examples / vue-kitchen-sink / src / stories / custom-rendering.stories.js View on Github external
export const templateMethods = () =&gt; ({
  components: { MyButton },
  template: `
      <p>
        <em>Clicking the button will navigate to another story using the 'addon-links'</em><br>
        MyButton rendered in a template + props &amp; methods
      </p>`,
  methods: {
    action: linkTo('Button'),
  },
});
github nordnet / ui / stories / index.stories.tsx View on Github external
storiesOf('Welcome', module).add('to Storybook', () =&gt; );
github henry40408 / awesome-stars / stories / index.stories.tsx View on Github external
storiesOf("Welcome", module).add("to Storybook", () =&gt; (
    
));

@storybook/addon-links

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

MIT
Latest version published 11 days ago

Package Health Score

95 / 100
Full package analysis