Uh oh!
There was an error while loading. Please reload this page.
Docs: Remove drafts silliness from examples - #1785
Conversation
|
size-limit report 📦
|
| }, | ||
| "dependencies": { | ||
| "@primer/gatsby-theme-doctocat": "^3.1.0", | ||
| "@primer/gatsby-theme-doctocat": "0.0.0-2022011123325", |
There was a problem hiding this comment.
Approval assumes this will be updated after your doctocat PR merges
| "@typescript-eslint/no-unused-vars": 0, | ||
| "primer-react/no-deprecated-colors": ["error", {"skipImportCheck": true}] | ||
| "primer-react/no-deprecated-colors": ["error", {"skipImportCheck": true}], | ||
| "no-redeclare": 0 |
There was a problem hiding this comment.
Added this for code blocks so that we can write this block ⬇️ without adding a // eslint-ignore inside the code block
// ESMimport{ActionList}from'@primer/react/lib-esm/drafts'// or commonjs:import{ActionList}from'@primer/react/lib/drafts'siddharthkp
commented
Jan 14, 2022
Update: Brought in changes from #1778 to this PR |
siddharthkp
commented
Jan 19, 2022
@colebemis I think we're ready here! |
Uh oh!
There was an error while loading. Please reload this page.
Checklist:
Alphacomponents can't be used despite being available in the documentation. #1768Problem:
Because
draftsis scoped, we have some implementation detail silliness in the examples:before:
Solution: By making
live-code-scopeaccept a function (doctocat/332), we can make scope dynamic based on metastring:after, so clean, yay: