/** * Copyright (c) 2020-present NAVER Corp. * egjs projects are licensed under the MIT license */ import { CodeSandboxTemplate } from "../types"; export const DEFAULT_REACT_CODESANDBOX: CodeSandboxTemplate = (userDependencies = [], files = {}) => { return { dependencies: { react: "^16.8.0", "react-dom": "^16.8.0", "@types/react": "^16.8.0", "@types/react-dom": "^16.8.0", "react-scripts": "^2.1.0", }, template: "create-react-app-typescript", files: { "public/index.html": `