This commit is contained in:
Eleanor Mao
2024-04-09 16:38:46 +08:00
parent 60438c68e4
commit 141f253400
21 changed files with 1981 additions and 77 deletions

View File

@ -3,7 +3,7 @@
* @Date : 2024-04-09 14:46:24
* @LastEditTime : 2024-04-09 14:46:24
*
* Copyright © RingCentral. All rights reserved.
*
*/
import React, { FC } from "react";
import { styled } from '@mui/material/styles';

View File

@ -3,7 +3,7 @@
* @Date : 2024-04-09 10:36:44
* @LastEditTime : 2024-04-09 10:36:44
*
* Copyright © RingCentral. All rights reserved.
*
*/
import React, { ChangeEvent, KeyboardEvent, useEffect, useRef, useState } from "react";
import Grid from '@mui/material/Grid';
@ -117,15 +117,7 @@ export const Create = () => {
</Grid>
<Divider sx={{ mt: 4, mb: 4 }}/>
<Editor/>
{`
{Script} \n\n
{EmailSender} \n\n
{RC Bot add-in} \n\n
`}
</Grid>
</Grid>
<Box

View File

@ -3,7 +3,7 @@
* @Date : 2024-04-09 16:24:25
* @LastEditTime : 2024-04-09 16:24:25
*
* Copyright © RingCentral. All rights reserved.
*
*/
import React, { useRef, useEffect } from 'react';

View File

@ -3,7 +3,7 @@
* @Date : 2024-04-09 09:27:12
* @LastEditTime : 2024-04-09 09:27:12
*
* Copyright © RingCentral. All rights reserved.
*
*/
import React from "react";
import { Outlet } from "react-router-dom";

View File

@ -3,7 +3,7 @@
* @Date : 2024-04-09 09:38:20
* @LastEditTime : 2024-04-09 09:38:20
*
* Copyright © RingCentral. All rights reserved.
*
*/
import React, { useState } from "react";
import Button from '@mui/material/Button';

View File

@ -1 +1,71 @@
/// <reference types="react-scripts" />
/// <reference types="node" />
/// <reference types="react" />
/// <reference types="react-dom" />
declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: 'development' | 'production' | 'test';
readonly PUBLIC_URL: string;
}
}
declare module '*.avif' {
const src: string;
export default src;
}
declare module '*.bmp' {
const src: string;
export default src;
}
declare module '*.gif' {
const src: string;
export default src;
}
declare module '*.jpg' {
const src: string;
export default src;
}
declare module '*.jpeg' {
const src: string;
export default src;
}
declare module '*.png' {
const src: string;
export default src;
}
declare module '*.webp' {
const src: string;
export default src;
}
declare module '*.svg' {
import * as React from 'react';
export const ReactComponent: React.FunctionComponent<React.SVGProps<
SVGSVGElement
> & { title?: string }>;
const src: string;
export default src;
}
declare module '*.module.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.module.scss' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.module.sass' {
const classes: { readonly [key: string]: string };
export default classes;
}