Skip to content

fix(modal): Allow modal-class prop to be customized

Paul Gascou-Vaillancourt requested to merge allow-modal-class-override into master

It's currently impossible to customize the modal-class prop because we hardcode it to 'gl-modal' internally. To address this limitation, this MR exposes a modal-class prop on the Modal component. This prop accepts a String that's being concatenated with our default class (.gl-modal) before being passed to the underlying BModal component.

Merge request reports

Loading