We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Failing to run storybook
To Reproduce
webpackConfig.module.rules.push({ test: /\.(ts|tsx)$/, //exclude: /node_modules/, use: { loader: "babel-loader", options: { presets: ["@babel/preset-typescript"], plugins: ["istanbul"] } } }); webpackConfig.module.rules.push({ test: /\.(js|jsx)$/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env', '@babel/preset-react'] } } }); return webpackConfig;
npm i botui@next @botui/react
npm i @babel/core babel-loader @babel/preset-env @babel/preset-react --save-dev
import { createBot } from 'botui' import { BotUI, BotUIMessageList, BotUIAction, useBotUI } from '@botui/react' const myBot = createBot()
useEffect(() => { myBot .wait({ waitTime: 1000 }) .then(() => myBot.message.add({ text: 'hello, what is your name?' })) .then(() => myBot.action.set( { options: [ { label: 'John', value: 'john' }, { label: 'Jane', value: 'jane' }, ], }, { actionType: 'select' } )) .then((data) => myBot.message.add({ text: `nice to meet you ${data.selected.label}` })) }, [])
package.json
"storybook": "cross-env REACT_APP_MOCK_SERVER=MSW start-storybook -p 6006 -s public",
Expected behavior The build should complete successfully and storybook should start
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Hey @manik-ushur were you able to find a solution for this problem?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Failing to run storybook
To Reproduce
package.json
Expected behavior
The build should complete successfully and storybook should start
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: