Skip to content

Commit b7f064b

Browse files
authored
chore: fix typo in MDC skeleton code (#15863)
1 parent 427c1e7 commit b7f064b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/material-experimental/mdc-button/button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
1616
host: {
1717
'class': 'mat-mdc-button',
1818
},
19-
exportAs: 'matMyCheckbox',
19+
exportAs: 'matButton',
2020
encapsulation: ViewEncapsulation.None,
2121
changeDetection: ChangeDetectionStrategy.OnPush,
2222
})

src/material-experimental/mdc-card/card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
1616
host: {
1717
'class': 'mat-mdc-card',
1818
},
19-
exportAs: 'matMyCheckbox',
19+
exportAs: 'matCard',
2020
encapsulation: ViewEncapsulation.None,
2121
changeDetection: ChangeDetectionStrategy.OnPush,
2222
})

src/material-experimental/mdc-menu/menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
1616
host: {
1717
'class': 'mat-mdc-menu',
1818
},
19-
exportAs: 'matMyCheckbox',
19+
exportAs: 'matMenu',
2020
encapsulation: ViewEncapsulation.None,
2121
changeDetection: ChangeDetectionStrategy.OnPush,
2222
})

src/material-experimental/mdc-radio/radio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
1616
host: {
1717
'class': 'mat-mdc-radio',
1818
},
19-
exportAs: 'matMyCheckbox',
19+
exportAs: 'matRadio',
2020
encapsulation: ViewEncapsulation.None,
2121
changeDetection: ChangeDetectionStrategy.OnPush,
2222
})

src/material-experimental/mdc-slide-toggle/slide-toggle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/co
1616
host: {
1717
'class': 'mat-mdc-slide-toggle',
1818
},
19-
exportAs: 'matMyCheckbox',
19+
exportAs: 'matSlideToggle',
2020
encapsulation: ViewEncapsulation.None,
2121
changeDetection: ChangeDetectionStrategy.OnPush,
2222
})

0 commit comments

Comments
 (0)