Open History to see the last commit
1import * as React from 'react'
2β
3export const importedComponent = () => {
4 return <div>I am imported</div>
5}
6β
7export const importedErrorComponent = () => {
8 return <div>I am an error imported</div>
9}
10β
11export const importedNotFoundComponent = () => {
12 return <div>I am a not found imported</div>
13}
14β
15export const importedPendingComponent = () => {
16 return <div>I am a pending imported</div>
17}
18β
19export const importedLoader = () => {
20 return {
21 randomNumber: Math.random(),
22 }
23}
24β
25export default function ImportedDefaultComponent() {
26 return <div>Default imported</div>
27}