storybook Questions

2

Solved

I'm using Storybook in my Angular application, and I'm having an issue with args I have an arg called "clicked" that updates from false to true as soon as a button is clicked, take a look...
Harumscarum asked 9/6, 2022 at 20:40

5

Solved

Cannot configure story for module where routerLink is used due to error ERROR NullInjectorError: StaticInjectorError(DynamicModule)[RouterLinkActive -> Router] To Reproduce Steps to reproduce ...
Perky asked 15/1, 2020 at 8:27

2

Solved

I installed storybook by npx sb init but when try to run storybook in angular 16 I got below error. These errors are not pointing to any specific code in the project but some random code in node an...
Evermore asked 26/5, 2023 at 18:51

4

Solved

Is there a way to add authentication to Storybook? I'd want to use authentication in my Storybook project (my preferred auth provider being Auth0). Is there any add-on that could help me with that...
Fukien asked 19/6, 2019 at 17:17

3

I've faced the issue with the storybook library + ReactJS. I need to display a custom text under the brand image in the storybook. Is there any option in the storybook library to achieve it? Are we...
Kiwanis asked 19/3, 2021 at 12:52

6

I am using storybook (this) to play with my components in isolation. I want to mock all the flux cycle (that in the full app it is done with the help of redux) and update a property using a simple ...
Pose asked 28/8, 2017 at 11:53

10

Solved

I have a React/Typescript project with Storybook. Storybook works great, but as soon as I start importing files with aliases, it crashes. Example: import Foo from "@components/foo" => crash ...
Ferwerda asked 2/3, 2021 at 18:14

4

I'm trying to do some stuff in Storybook. I have a component called Button and there are too many stories on the sidebar. Is there a way to be able to "hide" the stories on the sidebar b...
Achaean asked 29/6, 2021 at 18:20

2

Solved

I have a component that has event emitters, and I need to provide a function to it for the component to function correctly. Used as so: <my-component (onClick)="myFunction()"></m...
Acanthaceous asked 17/3, 2022 at 20:20

13

Solved

I am trying to build my storybook with tailwind css. When running build-storybook the components are rendered with the tailwind classes. Unfortunately, when I build storybook and run the create bui...
Crawler asked 17/6, 2021 at 13:48

2

I have a dropdown directive which I want to add to my storybook, its not working. When I run the button shows on the storybook but if I click on the button the template is not getting displayed. i...
Underhanded asked 7/5, 2020 at 4:30

5

I can't seem to resolve this error I am getting in Storybook. I have the following file called Button.stories.mdx: import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks'; imp...
Paddle asked 23/12, 2021 at 16:48

6

Solved

I have storybook in my React app, and for some reason when i run yarn storybook it's always open the same story (it's automatically select selectedKind and selectedStory) . How can i manually selec...
Estimate asked 11/12, 2018 at 12:48

1

My component's description on the Storybook Docs page is picking up extra tags stuff from the JSDocs in addition to the description. How can I go about displaying only the "description part&qu...
Natishanative asked 22/11, 2020 at 15:32

7

I have storybook setup with my next.js, typescript and react project. The project renders fine but storybook breaks and give me the me error: "Module not found: Error: Can't resolve 'component...
Undersecretary asked 17/9, 2020 at 14:26

3

Let's see we have the simple component ToggleButton: const ButtonComponent = Vue.component('ButtonComponent', { props: { value: Boolean }, methods: { handleClick() { this.$emit('toggle'); }...
Papilla asked 2/9, 2020 at 14:57

2

Solved

I am building my storybook documentation for a library I built with React and I am not finding a easy way to render multiple variants in the same page. So, what I have so far is something like this...
Schlessinger asked 26/5, 2021 at 20:27

8

I have a simple JS "enum" like this const MyEnum = { Aaa: 1, Bbb: 84, }; And I have a simple story: import MyEnum from 'models/my-enum'; import HotSpot from 'hot-spot/hot-spot.vue'; im...
Paregmenon asked 10/5, 2021 at 9:13

2

I have an old project that am trying to view and modify its component through the component explorer but everytime i try to run with yarn storybook it opens up on browser with no components or mod...
Irinairis asked 20/12, 2023 at 9:59

6

Newbie to Storybook here. I'm trying to integrate Storybook into my Gatsby front end. However, when trying to preview the test components in Storybook Canvas I get the following error: react is not...
Grevera asked 3/1, 2023 at 16:13

2

not able to apply tailwind classes via storybook UI in real time, for example, changing the color of a button through the props classes here from bg-red-600 to bg-red-100 doesn't change the color o...
Barty asked 28/3, 2022 at 2:52

3

Solved

(Vue version - 2, Vuetify and Storybook - latest) Consider the following simple button component: <template> <v-btn round color="primary"> <slot></slot> </v-btn>...
Encomium asked 28/9, 2018 at 23:23

10

I am facing error running storybook.... even on a clean installation. npm run storybook > @ storybook /media/programmersedge/New_Volume/devs/demostorybook > start-storybook -p 9001 -c .sto...
Modestine asked 24/1, 2018 at 8:34

3

Im trying to deploy a storybook on vercel and get the following message error: the project uses pnpm as package manager. Ive upgraded the last version of NextJs and Clerk, as well as downgrade Nex...
Gittel asked 7/8, 2023 at 21:17

4

If I create a Story for the following Component I only get a couple of messages in a red frame, which do not contain any information I can gain any insight from: import React, { useState, useConte...
Lenticularis asked 15/11, 2019 at 16:43

© 2022 - 2024 — McMap. All rights reserved.