File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -1229,9 +1229,7 @@ Map {
12291229 " render" : [Function ],
12301230 },
12311231 " ComposedModal" => Object {
1232- " contextType" : Object {
1233- " $$typeof" : Symbol (react .context ),
1234- },
1232+ " $$typeof" : Symbol (react .forward_ref ),
12351233 " defaultProps" : Object {
12361234 " onKeyDown" : [Function ],
12371235 " selectorPrimaryFocus" : " [data-modal-primary-focus]" ,
@@ -1271,12 +1269,7 @@ Map {
12711269 " type" : " string" ,
12721270 },
12731271 " selectorsFloatingMenus" : Object {
1274- " args" : Array [
1275- Object {
1276- " type" : " string" ,
1277- },
1278- ],
1279- " type" : " arrayOf" ,
1272+ " type" : " string" ,
12801273 },
12811274 " size" : Object {
12821275 " args" : Array [
@@ -1290,6 +1283,7 @@ Map {
12901283 " type" : " oneOf" ,
12911284 },
12921285 },
1286+ " render" : [Function ],
12931287 },
12941288 " Content" => Object {
12951289 " defaultProps" : Object {
Original file line number Diff line number Diff line change 88import React from 'react' ;
99import { shallow , mount } from 'enzyme' ;
1010import Button from '../Button' ;
11- import ComposedModal , {
11+ import {
12+ ComposedModal ,
1213 ModalHeader ,
1314 ModalBody ,
1415 ModalFooter ,
Original file line number Diff line number Diff line change @@ -29,4 +29,3 @@ export const ComposedModal = FeatureFlags.enabled('enable-v11-release')
2929 : ComposedModalClassic ;
3030
3131export { ModalBody } ;
32- export default from './ComposedModal' ;
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ export Checkbox from './components/Checkbox';
1717export { ClassPrefix } from './components/ClassPrefix' ;
1818export CodeSnippet from './components/CodeSnippet' ;
1919export ComboBox from './components/ComboBox' ;
20- export ComposedModal , {
20+ export {
21+ ComposedModal ,
2122 ModalHeader ,
2223 ModalBody ,
2324 ModalFooter ,
You can’t perform that action at this time.
0 commit comments