Skip to content

Commit

Permalink
wildcard import doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily Plummer committed Jul 1, 2020
1 parent edad62e commit c0e81e0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@primer/gatsby-theme-doctocat": "^0.20.0",
"@primer/octicons-react": "^9.2.0",
"@primer/octicons-react": "^10.0.0",
"@styled-system/prop-types": "^5.1.0",
"@styled-system/theme-get": "^5.1.0",
"gatsby": "^2.17.0",
Expand Down
26 changes: 23 additions & 3 deletions docs/src/@primer/gatsby-theme-doctocat/live-code-scope.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
import * as primerComponents from '@primer/components'
import * as doctocatComponents from '@primer/gatsby-theme-doctocat'
import * as octiconComponents from '@primer/octicons-react'
import {
CheckIcon,
ZapIcon,
XIcon,
SearchIcon,
PrimitiveDotIcon,
OctofaceIcon,
PersonIcon,
MailIcon,
GitCommitIcon,
FlameIcon
} from '@primer/octicons-react'
import State from '../../../components/State'

export default {
...primerComponents,
...doctocatComponents,
...octiconComponents,
State
State,
CheckIcon,
SearchIcon,
ZapIcon,
XIcon,
PrimitiveDotIcon,
OctofaceIcon,
PersonIcon,
MailIcon,
GitCommitIcon,
FlameIcon
}
5 changes: 5 additions & 0 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,11 @@
styled-components "^4.3.2"
styled-system "^5.0.18"

"@primer/octicons-react@^10.0.0":
version "10.0.0"
resolved "https://registry.yarnpkg.com/@primer/octicons-react/-/octicons-react-10.0.0.tgz#82f0d64b4276778fb51468afac00aa0c420ad230"
integrity sha512-I+m7Srg/Ivo5VuXoKwKCJ6YJya+lr6EVzp/WGnDlwBSpy0m4WfYAmZigt3A0i4JMqgLRFDlK+8AgqT66E9bOOw==

"@primer/octicons-react@^9.1.1":
version "9.4.0"
resolved "https://registry.yarnpkg.com/@primer/octicons-react/-/octicons-react-9.4.0.tgz#19f6ed2eab82e78c2762315d19c7ce1677fcf4ed"
Expand Down

0 comments on commit c0e81e0

Please sign in to comment.