File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import { ExperimentalService } from "carbon-components-angular/experimental";
2121@Component ( {
2222 selector : "ibm-modal-header" ,
2323 template : `
24- <header class="cds--modal-header">
24+ <header class="cds--modal-header {{theme}} ">
2525 <ng-content></ng-content>
2626 <button
2727 *ngIf="showCloseButton"
@@ -36,6 +36,11 @@ import { ExperimentalService } from "carbon-components-angular/experimental";
3636 `
3737} )
3838export class ModalHeader {
39+ /**
40+ * @deprecated since v5
41+ * Sets the style on the modal heading based on its category.
42+ */
43+ @Input ( ) theme = "default" ;
3944 /**
4045 * Accessible label for the header close button.
4146 * Defaults to the `MODAL.CLOSE` value from the i18n service.
You can’t perform that action at this time.
0 commit comments