Skip to content

Commit

Permalink
import Dialog v2 instead of old Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ty-v1 committed May 19, 2022
1 parent 9591843 commit 8ac1080
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/@primer/gatsby-theme-doctocat/live-code-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as octicons from '@primer/octicons-react'
import * as primerComponents from '@primer/react'
import * as drafts from '@primer/react/drafts'
import * as deprecated from '@primer/react/deprecated'
import {Dialog} from '@primer/react/Dialog/Dialog'
import {Placeholder} from '@primer/react/Placeholder'
import React from 'react'
import State from '../../../components/State'
Expand All @@ -24,6 +25,7 @@ export default function resolveScope(metastring) {
...(metastring.includes('deprecated') ? deprecated : {}),
ReactRouterLink,
State,
Placeholder
Placeholder,
Dialog
}
}

0 comments on commit 8ac1080

Please sign in to comment.