| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import type {Store} from './stores'; |
| 9 | |
| 10 | const index = `\ |
| 11 | export default function MyApp() { |
| 12 | return <div>Hello World</div>; |
| 13 | } |
| 14 | `; |
| 15 | |
| 16 | export const defaultConfig = `\ |
| 17 | { |
| 18 | //compilationMode: "all" |
| 19 | }`; |
| 20 | |
| 21 | export const defaultStore: Store = { |
| 22 | source: index, |
| 23 | config: defaultConfig, |
| 24 | showInternals: false, |
| 25 | }; |
| 26 | |
| 27 | export const emptyStore: Store = { |
| 28 | source: '', |
| 29 | config: '', |
| 30 | showInternals: false, |
| 31 | }; |