Why there is a Unknown tag around story source
See original GitHub issueDescribe the bug There is a Unknow tag around story source
To Reproduce Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior There is not a Unknow tag aroud story source
Screenshots
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:
- OS: Windows10
- Device: PC
- Browser: chrome, safari
- Framework: react
- Addons: storybook-addon-jsx、@storybook/addon-info、@storybook/addon-knobs
- Version: 5.0.11
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:8 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI
addon-info
is being superceded byaddon-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-e185bc3622bfHey 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!