Skip to content

Commit c65a87b

Browse files
authored
docs(material/button-toggle): add description for appearance property in default options (#22852)
* docs(material/button-toggle): add description for appearance property in default options Developers can specify a default appearance for button toggles using the `MatButtonToggleDefaultOptions`. The appearance property within these default options is not documented. This commit adds a description. * fixup! docs(material/button-toggle): add description for appearance property in default options Address feedback
1 parent bf22776 commit c65a87b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/material/button-toggle/button-toggle.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ export type MatButtonToggleAppearance = 'legacy' | 'standard';
5353
* using the `MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS` injection token.
5454
*/
5555
export interface MatButtonToggleDefaultOptions {
56+
/**
57+
* Default appearance to be used by button toggles. Can be overridden by explicitly
58+
* setting an appearance on a button toggle or group.
59+
*/
5660
appearance?: MatButtonToggleAppearance;
5761
}
5862

0 commit comments

Comments
 (0)