updated the react samples
This commit is contained in:
Родитель
cc5f39a3b2
Коммит
164421e418
|
@ -19,7 +19,7 @@ npm install
|
||||||
2. Start the development server using gulp
|
2. Start the development server using gulp
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gulp serve
|
npm run serve
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Open your web browser and navigate to the specified localhost address to view the samples.
|
3. Open your web browser and navigate to the specified localhost address to view the samples.
|
|
@ -44,6 +44,7 @@
|
||||||
"@syncfusion/ej2-react-image-editor": "*",
|
"@syncfusion/ej2-react-image-editor": "*",
|
||||||
"@syncfusion/ej2-react-multicolumn-combobox": "*",
|
"@syncfusion/ej2-react-multicolumn-combobox": "*",
|
||||||
"@syncfusion/ej2-react-interactive-chat": "*",
|
"@syncfusion/ej2-react-interactive-chat": "*",
|
||||||
|
"form-data": "^4.0.0",
|
||||||
"react": "18.3.0",
|
"react": "18.3.0",
|
||||||
"react-dom": "18.3.0",
|
"react-dom": "18.3.0",
|
||||||
"react-router-dom": "6.16.0"
|
"react-router-dom": "6.16.0"
|
||||||
|
@ -51,6 +52,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/signalr": "7.0.11",
|
"@microsoft/signalr": "7.0.11",
|
||||||
"@types/codemirror": "5.60.10",
|
"@types/codemirror": "5.60.10",
|
||||||
|
"@types/form-data": "^2.5.0",
|
||||||
"@types/history": "4.7.11",
|
"@types/history": "4.7.11",
|
||||||
"@types/marked": "5.0.1",
|
"@types/marked": "5.0.1",
|
||||||
"@types/moment-timezone": "0.5.13",
|
"@types/moment-timezone": "0.5.13",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import FormData from 'form-data';
|
import * as FormData from 'form-data';
|
||||||
|
|
||||||
// Search and Replace
|
// Search and Replace
|
||||||
export async function StabilityAiModel(file: File, prompt: string, searchPrompt: string) {
|
export async function StabilityAiModel(file: File, prompt: string, searchPrompt: string) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче