leumas-private-shared
Version:
Private React JSX Package For Leumas Shared Components, Headers, Footers, Asides, Login Pages, API Key Manager and much more. Styles and everything reusable to avoid DRY code across all of our subdomains
13 lines (9 loc) • 455 B
JSX
import React from 'react';
import { diff as DiffEditor } from 'react-ace';
// Import the themes you plan to use. This list can be expanded based on your needs.
import 'ace-builds/src-noconflict/theme-github';
import 'ace-builds/src-noconflict/mode-text'; // You might want to import other modes as well, as per the requirement.
const DiffEditorWrapper = (props) => {
return <DiffEditor {...props} />;
};
export default DiffEditorWrapper;