-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
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
docs(CodeSnippet): Update snippet docs #8242
docs(CodeSnippet): Update snippet docs #8242
Conversation
Deploy preview for carbon-elements ready! Built with commit 3e7604c |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit 3e7604c https://deploy-preview-8242--carbon-components-react.netlify.app |
Nice. And it may be hard to do - but could we get children(CodeSnippet data) to be a prop too. |
My bad, looks like you already have the children(CodeSnippet data) as a knob prop. |
5f77746
to
d444311
Compare
Closes #8088
Refs #8181
Updates the docs so that they are more helpful
Changelog
New
Playground
story, and you can change the content displayed in them via the knobsChanged
Removed
Multiline
story no longer spreads props so it can be copy / pastedTesting / Reviewing
Ensure CodeSnippet stories are copy / pastable (exception of playground story) and that the prop names are added to the knobs.
Ensure you can change the content of the code snippets