Comments (6)
Just rename you module to ChatInput.js
and it'll work.
from storybook.
@arunoda Thanks! You may close this.
from storybook.
Great.
from storybook.
Seeing the same issue locally, but not using a .jsx file extension.
It's specifically calling out line 42: https://gist.github.com/arunoda/fb3859840ff616cc5ea0fa3ef8e3f358#file-register-js-L42
<div style={styles.notesPanel}>
I used the guide and gist from here: https://getstorybook.io/docs/addons/writing-addons
I tried putting the root .babelrc in .storybook. No dice.
https://getstorybook.io/docs/configurations/custom-babel-config
from storybook.
There seems to be a lot of info missing from the docs, like adding babel etc, and specifying a dist folder.
https://github.com/kadirahq/storybook-addon-notes/blob/master/register.js
https://github.com/kadirahq/storybook-addon-notes/blob/master/package.json#L53
Or that you need: .storybook/config.js and .storybook/stories.js
from storybook.
I have a working implementation here: https://cloudup.com/cwK7EtZCpaw
from storybook.
Related Issues (20)
- [Documentation]: Angular - The documentation for handing event emitters is non existant. HOT 2
- [Bug]: Seeing warning about CJS even though my project is ESM HOT 3
- [Bug]: themes.normal not working for docs pages HOT 6
- Blog Post: Highlight the feature
- [Bug]: Addon build fails due to missing @storybook/manager/globals on 8.2.5 HOT 3
- [Bug]: Upgrade still prompts for all automigrations HOT 1
- [Bug]: Incorrect null type error for ControlType HOT 1
- UI: solidify story status elements HOT 1
- UI: Rework footer filtering component and API HOT 1
- Remove/deprecate experimental bottomBar APIs in Storybook core [gert] HOT 1
- Move bottom bar button (filter) logic from VTA to Storybook [gert] HOT 1
- Migration strategy with different versions of Storybook+VTA (so that there is only filter UI)
- Rework file transformation logic [yann] HOT 1
- Use internal Storybook renderer logic for portable stories in 8.3 (as a default), as it will solve hard to debug race conditions and allows us to run the vitest test runner for all renderers [kasper]
- Portable stories: Refactor Storybook preview and Portable stories to reuse logic [kasper]
- Scaffold `@storybook/addon-vitest` with basic mocked test results [gert] HOT 1
- Server/browser state for status API from JUnit report [yann, gert] HOT 1
- [Bug]: Absolute import from MDX does not work HOT 2
- [Bug]: PNPM Install returning errors HOT 3
- [Bug]: Failed to build the preview SB_BUILDER-WEBPACK5_0002 (WebpackInvocationError): Module not found: Error: Can't resolve './Typography' in './components/Typography' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.