Skip to content

Commit 4560306

Browse files
josephperrottmmalerba
authored andcommitted
docs(radio): Correct providers syntax in default color configuration example (#16245)
1 parent 7f74211 commit 4560306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material/radio/radio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Radio button groups should be given a meaningful label via `aria-label` or `aria
3939
The default color for radio buttons can be configured globally using the `MAT_RADIO_DEFAULT_OPTIONS` provider
4040

4141
```
42-
providers: [
42+
providers: [{
4343
provide: MAT_RADIO_DEFAULT_OPTIONS,
4444
useValue: { color: 'accent' },
45-
]
45+
}]
4646
```

0 commit comments

Comments
 (0)