v2.3.1
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import App from './common/Index.jsx';
|
||||
|
||||
import { Globals, Button, Segmented } from '@svar-ui/react-core';
|
||||
|
||||
import Willow from '../src/themes/Willow.jsx';
|
||||
import WillowDark from '../src/themes/WillowDark.jsx';
|
||||
|
||||
import '@svar-ui/react-core/style.css';
|
||||
import '@svar-ui/react-grid/style.css';
|
||||
import '@svar-ui/react-editor/style.css';
|
||||
import '@svar-ui/react-menu/style.css';
|
||||
import '@svar-ui/react-toolbar/style.css';
|
||||
import '@svar-ui/react-comments/style.css';
|
||||
import '@svar-ui/react-tasklist/style.css';
|
||||
|
||||
const skins = [
|
||||
{ id: 'willow', label: 'Willow', Component: Willow },
|
||||
{ id: 'willow-dark', label: 'Dark', Component: WillowDark },
|
||||
];
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<React.StrictMode>
|
||||
<App
|
||||
publicName="Gantt"
|
||||
skins={skins}
|
||||
productTag="gantt"
|
||||
Globals={Globals}
|
||||
Button={Button}
|
||||
Segmented={Segmented}
|
||||
/>
|
||||
</React.StrictMode>,
|
||||
);
|
||||
Reference in New Issue
Block a user