# Interface UseFivePluginOptions<T>

interface UseFivePluginOptions<T> {
createPlugin?: (five: Five) => T;
reCreateOnFiveChange?: boolean;
}

#### Type Parameters

- T

#### Hierarchy (View Summary)

- UseFivePluginOptions
  - UseFivePluginOptionsWithCreate

- Defined in lib/react/hooks/useFivePlugin.ts:58

##### Index

### Properties

createPlugin?
reCreateOnFiveChange?

## Properties

### `Optional` createPlugin

createPlugin?: (five: Five) => T

缓存未命中时自动创建插件实例

- Defined in lib/react/hooks/useFivePlugin.ts:60

### `Optional` reCreateOnFiveChange

reCreateOnFiveChange?: boolean

Five 实例变化时是否重新创建（而非同步引用），默认 false

- Defined in lib/react/hooks/useFivePlugin.ts:62