Skip to content

Commit 9040e7f

Browse files
fabiofranziniAJIXuMuK
authored andcommitted
Fix the problem of import the control
1 parent 976c650 commit 9040e7f

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

src/MonacoEditor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './controls/monacoEditor';

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ export * from './Carousel';
4242
export * from './ModernTaxonomyPicker';
4343
export * from './LivePersona';
4444
export * from './ModernAudio';
45+
export * from './MonacoEditor';

src/webparts/controlsTest/components/ControlsTest.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ import { ControlsTestEnhancedThemeProvider, ControlsTestEnhancedThemeProviderFun
190190
import { AdaptiveCardDesignerHost } from "../../../AdaptiveCardDesignerHost";
191191
import { ModernAudio, ModernAudioLabelPosition } from "../../../ModernAudio";
192192
import { SPTaxonomyService, TaxonomyTree } from "../../../ModernTaxonomyPicker";
193+
import { TestControl } from "./TestControl";
193194

194195

195196
// Used to render document card
@@ -2408,6 +2409,11 @@ export default class ControlsTest extends React.Component<IControlsTestProps, IC
24082409
)}
24092410
</div>
24102411

2412+
<div>
2413+
<h3>Monaco Editor</h3>
2414+
<TestControl context={this.props.context} />
2415+
</div>
2416+
24112417
</div>
24122418
);
24132419
}

0 commit comments

Comments
 (0)