Skip to content

@drawerly/react / createDrawerManager

createDrawerManager()

ts
function createDrawerManager<TDrawerOptions>(config?): DrawerManager<TDrawerOptions>;

Creates a new drawer manager backed by an in-memory stack.

Type Parameters

TDrawerOptions

TDrawerOptions extends DrawerOptions = DrawerOptions

Parameters

config?

DrawerManagerConfig<TDrawerOptions>

Returns

DrawerManager<TDrawerOptions>

Released under the MIT License.