How to use the @storybook/react/dist/client.linkTo function in @storybook/react

To help you get started, we’ve selected a few @storybook/react 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 FujitsuLaboratories / cattaz / stories / index.jsx View on Github external
function WikiNavigationPage(props) {
  return (
    <div>
      <div>
        <a href="#dummy"><img height="33" width="100" alt="cattaz" src="{logo}"></a>
        <span style="{{">{props.name}</span>
      </div>
      
    </div>);
}
WikiNavigationPage.propTypes = {
github FujitsuLaboratories / cattaz / stories / index.jsx View on Github external
.add('index', () =&gt; (
    <div>
      <h1><img width="640" alt="cattaz" src="{logo}"></h1>
      <h2>List of pages</h2>
      <ul>
        <li><a href="#dummy">page1</a></li>
        <li><a href="#dummy">page2</a></li>
      </ul>
      <div>
        Create a new page: <input placeholder="new page name" type="text"><input value="Create" type="button">
      </div>
    </div>))
  .add('page1', () =&gt; )
github FujitsuLaboratories / cattaz / stories / index.jsx View on Github external
.add('index', () =&gt; (
    <div>
      <h1><img width="640" alt="cattaz" src="{logo}"></h1>
      <h2>List of pages</h2>
      <ul>
        <li><a href="#dummy">page1</a></li>
        <li><a href="#dummy">page2</a></li>
      </ul>
      <div>
        Create a new page: <input placeholder="new page name" type="text"><input value="Create" type="button">
      </div>
    </div>))
  .add('page1', () =&gt; )
github FujitsuLaboratories / cattaz / stories / index.jsx View on Github external
.add('index', () =&gt; (
    <div>
      <h1><img width="640" alt="cattaz" src="{logo}"></h1>
      <h2>List of pages</h2>
      <ul>
        <li><a href="#dummy">page1</a></li>
        <li><a href="#dummy">page2</a></li>
      </ul>
      <div>
        Create a new page: <input placeholder="new page name" type="text"><input value="Create" type="button">
      </div>
    </div>))
  .add('page1', () =&gt; )