Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test (don't merge) #2038

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/docs/pages/components/radio/radio-group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

```jsx
<RadioGroup label="Radio group">
<Radio value="1">Option 1</Radio>
<Radio value="1" description="this is a test">Option 1</Radio>
<Radio value="2">Option 2</Radio>
<Radio value="3">Option 3</Radio>
<Radio value="3" description="lorem ipsum">Option 3</Radio>
</RadioGroup>
```

Expand Down
4 changes: 2 additions & 2 deletions packages/shoreline/src/components/radio/radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import { Label } from '../label'
* @status stable
* @example
* <RadioGroup label="Radio group">
* <Radio value="1">Option 1</Radio>
* <Radio value="1" description="This is a test">Option 1</Radio>
* <Radio value="2">Option 2</Radio>
* <Radio value="3">Option 3</Radio>
* <Radio value="3" description="Lorem ipsum">Option 3</Radio>
* </RadioGroup>
*/
export const Radio = forwardRef<HTMLInputElement, RadioProps>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export function Show() {
</Radio>
</RadioGroup>
<RadioGroup label="Vertical radio group" errorText="Something is wrong">
<Radio value="opt1">Pen</Radio>
<Radio value="opt1" description="this is a test">Pen</Radio>
<Radio value="opt2">Pineapple</Radio>
<Radio value="opt3">Apple</Radio>
<Radio value="opt3" description="lorem ipsum">Apple</Radio>
<Radio value="opt4">Another pen</Radio>
</RadioGroup>
<RadioGroup label="Horizontal radio group" horizontal>
Expand Down
Loading