mirror of
https://github.com/harness/drone.git
synced 2025-05-09 13:40:04 +08:00
10 lines
295 B
TypeScript
10 lines
295 B
TypeScript
import React from 'react'
|
|
import type { SourceCodeEditorProps } from 'utils/Utils'
|
|
import MonacoSourceCodeEditor from './MonacoSourceCodeEditor'
|
|
|
|
function Editor(props: SourceCodeEditorProps) {
|
|
return <MonacoSourceCodeEditor {...props} />
|
|
}
|
|
|
|
export const SourceCodeEditor = React.memo(Editor)
|