diff --git a/src/material/radio/radio.md b/src/material/radio/radio.md index 0e978b65093..f89cd669577 100644 --- a/src/material/radio/radio.md +++ b/src/material/radio/radio.md @@ -39,8 +39,8 @@ Radio button groups should be given a meaningful label via `aria-label` or `aria The default color for radio buttons can be configured globally using the `MAT_RADIO_DEFAULT_OPTIONS` provider ``` -providers: [ +providers: [{ provide: MAT_RADIO_DEFAULT_OPTIONS, useValue: { color: 'accent' }, -] +}] ``` \ No newline at end of file