question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why there is a Unknown tag around story source

See original GitHub issue

Describe the bug There is a Unknow tag around story source

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior There is not a Unknow tag aroud story source

Screenshots image

Code snippets

// .storybook/addons.js
import "storybook-addon-jsx/register";
import "@storybook/addon-knobs/register";

// .storybook/config.js
import { addDecorator, configure } from "@storybook/react";

import { Fragment } from "react";
import { jsxDecorator } from "storybook-addon-jsx";
import { withInfo } from "@storybook/addon-info";
import { withKnobs } from "@storybook/addon-knobs";

addDecorator(jsxDecorator);
addDecorator(withKnobs);
addDecorator(withInfo({ inline: true, propTablesExclude: [Fragment] }));

function loadStories() {
  require("../stories/index.js");
}

configure(loadStories, module);

import React, { Fragment } from "react";

import { Button } from "@cp/ec-ui";
import { storiesOf } from "@storybook/react";

// import { boolean, text } from "@storybook/addon-knobs";

storiesOf("Button", module)
  .add("type prop", () => (
    <div>
      <Button type="primary">Primary Button</Button>
      <Button type="danger">Danger Button</Button>
      <Button>Normal Button</Button>
    </div>
  ))
  .add("with emoji", () => (
    <Button>
      <span role="img" aria-label="so cool">
        😀 😎 👍 💯
      </span>
    </Button>
  ));

System:

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
shilmancommented, Aug 26, 2019

FYI addon-info is being superceded by addon-docs, which fixes a bunch of bugs and is easier to maintain. It’s reached release candidate (RC) status and will be properly released soon. Please give it a try! https://medium.com/storybookjs/storybook-docspage-e185bc3622bf

0reactions
stale[bot]commented, Nov 13, 2019

Hey there, it’s me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it OK to use unknown HTML tags? - Stack Overflow
Yes, you can use unknown tags, if you define the tag in your javascript. Share.
Read more >
Samsung's SmartThings app can now detect if someone is ...
Called "Unknown Tag Search," it can spot any unknown SmartTags that might be moving along with you or located in your general vicinity....
Read more >
Fever of Unknown Origin in Cats - VCA Animal Hospitals
A fever is beneficial to the body because it hampers the ability of viruses and bacteria to reproduce and improves the immune system...
Read more >
Filter Data Across Multiple Data Sources - Tableau Help
To do so, you can apply a filter across multiple primary data sources. For example, the following dashboard shows the order quantity, average...
Read more >
Using iPhone to detect an unknown AirTag - 9to5Mac
airtags detect unknown nearby with iphone ... However, if the AirTag is unknown, you can learn more and disable it so the device...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found