Skip to content

Commit

Permalink
Fix RadioGroup component example in its readme (WordPress#24857)
Browse files Browse the repository at this point in the history
  • Loading branch information
DietPawel authored Aug 28, 2020
1 parent 2300f3c commit e45d5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/radio-group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const MyControlledRadioRadioGroup = () => {
When using the RadioGroup component as an uncontrolled component, the default value can be set with the `defaultChecked` prop.

```jsx
import { Radio, RadioGroup } from '@wordpress/components';
import { __experimentalRadio as Radio, __experimentalRadioGroup as RadioGroup } from '@wordpress/components';
import { useState } from '@wordpress/element';

const MyUncontrolledRadioRadioGroup = () => {
Expand Down

0 comments on commit e45d5ff

Please sign in to comment.