Skip to content

@drawerly/react / BASE_DRAWER_DEFAULTS

BASE_DRAWER_DEFAULTS

ts
const BASE_DRAWER_DEFAULTS: object;

Built-in defaults applied to every drawer manager.

Type Declaration

closeOnBackdropClick

ts
readonly closeOnBackdropClick: true = true;

closeOnEscapeKey

ts
readonly closeOnEscapeKey: true = true;

placement

ts
readonly placement: "right" = 'right';

Released under the MIT License.