Skip to content

Commit 8ac1080

Browse files
committed
import Dialog v2 instead of old Dialog
1 parent 9591843 commit 8ac1080

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/@primer/gatsby-theme-doctocat/live-code-scope.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as octicons from '@primer/octicons-react'
33
import * as primerComponents from '@primer/react'
44
import * as drafts from '@primer/react/drafts'
55
import * as deprecated from '@primer/react/deprecated'
6+
import {Dialog} from '@primer/react/Dialog/Dialog'
67
import {Placeholder} from '@primer/react/Placeholder'
78
import React from 'react'
89
import State from '../../../components/State'
@@ -24,6 +25,7 @@ export default function resolveScope(metastring) {
2425
...(metastring.includes('deprecated') ? deprecated : {}),
2526
ReactRouterLink,
2627
State,
27-
Placeholder
28+
Placeholder,
29+
Dialog
2830
}
2931
}

0 commit comments

Comments
 (0)