Skip to content

@drawerly/react / DrawerManagerConfig

DrawerManagerConfig<TDrawerOptions>

Configuration accepted by createDrawerManager.

Type Parameters

TDrawerOptions

TDrawerOptions extends DrawerOptions = DrawerOptions

Properties

defaultOptions?

ts
optional defaultOptions: Partial<DrawerOptionsWithoutKey<TDrawerOptions>>;

Global default options merged into every opened drawer.


initialStack?

ts
optional initialStack: readonly TDrawerOptions[];

Drawers present in the stack when the manager is created.

Released under the MIT License.