# Interface FiveAppProps

interface FiveAppProps {
autoCanvas?: boolean;
children?: ReactNode;
fallback?: ReactNode;
fiveInitArgs?: FiveInitArgs;
fullscreen?: boolean;
load?: (
five: Five,
) => Promise<
[
inputWork: | string
| string[]
| LooseWork
| Work
| Work[]
| LooseWork[]
| LooseWorkWithExtrinsics[]
| Promise<
LooseWork
| Work
| Work[]
| LooseWork[]
| LooseWorkWithExtrinsics[],
>,
state?: "initial" | "inherit" | Partial<State>,
options?: number | FiveLoadOptions,
userAction: boolean,
],
>;
plugins?: (
| ((five: Five) => void)
| [
Plugin: ((five: Five) => any)
| ((five: Five, parameters: any) => any),
instanceName: string | null,
]
| [
Plugin: ((five: Five) => any)
| ((five: Five, parameters: any) => any),
instanceName: string | null,
parameters: any,
]
| [Plugin: (five: Five) => any, instanceName: string | null]
)[];
renderChildren?: boolean;
}

- Defined in lib/react/fiveApp.ts:79

##### Index

### Properties

autoCanvas?
children?
fallback?
fiveInitArgs?
fullscreen?
load?
plugins?
renderChildren?

## Properties

### `Optional` autoCanvas

autoCanvas?: boolean

是否自动挂载 FiveAutoCanvas，默认 true

- Defined in lib/react/fiveApp.ts:86

### `Optional` children

children?: ReactNode

- Defined in lib/react/fiveApp.ts:89

### `Optional` fallback

fallback?: ReactNode

加载中显示的 fallback，类似 Suspense 的 fallback

- Defined in lib/react/fiveApp.ts:88

### `Optional` fiveInitArgs

fiveInitArgs?: FiveInitArgs

- Defined in lib/react/fiveApp.ts:80

### `Optional` fullscreen

fullscreen?: boolean

- Defined in lib/react/fiveApp.ts:84

### `Optional` load

load?: (
five: Five,
) => Promise<
[
inputWork: | string
| string[]
| LooseWork
| Work
| Work[]
| LooseWork[]
| LooseWorkWithExtrinsics[]
| Promise<
LooseWork
| Work
| Work[]
| LooseWork[]
| LooseWorkWithExtrinsics[],
>,
state?: "initial" | "inherit" | Partial<State>,
options?: number | FiveLoadOptions,
userAction: boolean,
],
>

- Defined in lib/react/fiveApp.ts:81

### `Optional` plugins

plugins?: (
| ((five: Five) => void)
| [
Plugin: ((five: Five) => any)
| ((five: Five, parameters: any) => any),
instanceName: string | null,
]
| [
Plugin: ((five: Five) => any)
| ((five: Five, parameters: any) => any),
instanceName: string | null,
parameters: any,
]
| [Plugin: (five: Five) => any, instanceName: string | null]
)[]

- Defined in lib/react/fiveApp.ts:82

### `Optional` renderChildren

renderChildren?: boolean

- Defined in lib/react/fiveApp.ts:83