From 4560306ca428f1ffd455235830897b75aba7ee88 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Mon, 10 Jun 2019 13:36:57 -0700 Subject: [PATCH] docs(radio): Correct providers syntax in default color configuration example (#16245) --- src/material/radio/radio.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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