carbon-for-ibm-dotcom
carbon-for-ibm-dotcom copied to clipboard
fix(storybook-react-wrapper): props not appearing
Related Ticket(s)
N/A
Description
Components that extend other components were not showing props in the storybook docs
tab.
Note: the first time the react wrapper deploy preview ran it failed, but the second time it passed. not sure if it will be finnicky when running on github pages

Changelog
New
- Added to
babel-create-react-custom-element-type
to check if parentProps exist and if they do copies and pastes props into current componentes
files
Deploy preview created for package React
:
https://ibmdotcom-react.s3.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/9571/index.html
Built with commit: 8cbe6b517113519d96502bb77e25099d621156dc
Deploy preview created for package NextJS Test Application
:
https://ibmdotcom-nextjs-test-upstream.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9571/index.html
Built with commit: 8cbe6b517113519d96502bb77e25099d621156dc
Deploy preview created for package Web Components
:
https://ibmdotcom-webcomponents.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9571/index.html
Built with commit: 8cbe6b517113519d96502bb77e25099d621156dc
Deploy preview created for package Web Components HTML Test Application
:
https://ibmdotcom-web-components-html-test-upstream.s3.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9571/index.html
Built with commit: 8cbe6b517113519d96502bb77e25099d621156dc
Deploy preview created for package Web Components (React wrapper)
:
https://ibmdotcom-web-components-react.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9571/index.html
Built with commit: 8cbe6b517113519d96502bb77e25099d621156dc