|
|
|
@ -18,6 +18,7 @@ const AccordionDesign1 = ({ courses, vod }) => { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
|
<DragDropContext onDragEnd={handleOnDragEnd}> |
|
|
|
|
<Droppable droppableId="accordions"> |
|
|
|
|
{(provided) => ( |
|
|
|
@ -147,6 +148,7 @@ const AccordionDesign1 = ({ courses, vod }) => { |
|
|
|
|
)} |
|
|
|
|
</Droppable> |
|
|
|
|
</DragDropContext> |
|
|
|
|
</> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -209,3 +211,20 @@ AccordionDesign1.defaultProps = { |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
/* monaco */ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// import MonacoEditor from "react-monaco-editor";
|
|
|
|
|
|
|
|
|
|
// <MonacoEditor
|
|
|
|
|
// width="800"
|
|
|
|
|
// height="600"
|
|
|
|
|
// language="javascript"
|
|
|
|
|
// theme="vs-dark"
|
|
|
|
|
// value={code}
|
|
|
|
|
// options={options}
|
|
|
|
|
// onChange={::this.onChange}
|
|
|
|
|
// editorDidMount={::this.editorDidMount}
|
|
|
|
|
// />
|
|
|
|
|