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)
- [Bug]: The mdx-to-csf codemod doesn't replace the removed ArgsTable component
- [Bug]: On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:' HOT 2
- [Bug]: Storybook new installation on new project doesn't scroll HOT 2
- [Bug]: Mocked Actions with Storybook's test package HOT 1
- After updating to [email protected] ReactNode args throw error [Bug]: HOT 1
- [Bug]: JsDocs @deprecated tag does not show description
- [Bug]: ReferenceError in 8.0.0-beta.5 when using `docgen: "vue-component-meta"` HOT 5
- [Bug]: fix `types` usage for addon HOT 1
- Add portable stories documentation on React Native + portable stories in the React Native repo
- Portable stories - Create experimental API for Playwright CT in Vue3
- [Bug]: SB v8 beta empty source code (disable on purpose) in not working as in v7
- [Bug]: v8 beta 5 @storybook/test missing render function HOT 1
- [Bug]: window is not defined when rendering a React component w/ dedicated worker in development w react-vite HOT 3
- [Bug]: Submit in Svelte project using sveltekit-superforms is not working HOT 7
- [Bug]: Imported JSX components in MDX do not work in Beta 5 HOT 2
- [Bug]: build storybook produces an error with vite 4 and 3.
- [Bug]: build storybook produces an error with vite 4 and 3.
- [Bug]: NextJS addon does not get environment variables by default HOT 5
- [Bug]: flaky tests on HMR HOT 5
- [Bug]: `vue-component-meta` does not work in monorepo HOT 11
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.