Skip to content

Commit

Permalink
[base-ui][docs] Change Radio component terminology from Button to Gro…
Browse files Browse the repository at this point in the history
…up (mui#40888)
  • Loading branch information
danilo-leal authored Feb 1, 2024
1 parent b98290f commit 2843ae7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
14 changes: 0 additions & 14 deletions docs/data/base/components/radio-button/radio-button.md

This file was deleted.

14 changes: 14 additions & 0 deletions docs/data/base/components/radio-group/radio-group.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
productId: base-ui
title: React Radio Group component
githubLabel: 'component: radio'
waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/radio/
---

# Radio Group 🚧

<p class="description">Radio buttons enable the user to select one option from a set.</p>

:::warning
The Base UI Radio Group component isn't available yet, but you can upvote [this GitHub issue](https://github.com/mui/material-ui/issues/38038) to see it arrive sooner.
:::
2 changes: 1 addition & 1 deletion docs/data/base/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const pages: readonly MuiPage[] = [
{ pathname: '/base-ui/react-checkbox', title: 'Checkbox', planned: true },
{ pathname: '/base-ui/react-input', title: 'Input' },
{ pathname: '/base-ui/react-number-input', title: 'Number Input', unstable: true },
{ pathname: '/base-ui/react-radio-button', title: 'Radio Button', planned: true },
{ pathname: '/base-ui/react-radio-group', title: 'Radio Group', planned: true },
{ pathname: '/base-ui/react-rating', title: 'Rating', planned: true },
{ pathname: '/base-ui/react-select', title: 'Select' },
{ pathname: '/base-ui/react-slider', title: 'Slider' },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocsV2';
import AppFrame from 'docs/src/modules/components/AppFrame';
import * as pageProps from 'docs/data/base/components/radio-button/radio-button.md?@mui/markdown';
import * as pageProps from 'docs/data/base/components/radio-group/radio-group.md?@mui/markdown';

export default function Page(props) {
const { userLanguage, ...other } = props;
Expand Down
2 changes: 1 addition & 1 deletion docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"/base-ui/react-checkbox": "Checkbox",
"/base-ui/react-input": "Input",
"/base-ui/react-number-input": "Number Input",
"/base-ui/react-radio-button": "Radio Button",
"/base-ui/react-radio-group": "Radio Group",
"/base-ui/react-rating": "Rating",
"/base-ui/react-select": "Select",
"/base-ui/react-slider": "Slider",
Expand Down

0 comments on commit 2843ae7

Please sign in to comment.