From ddffda5885f97c1ed7ac87dfe2a822c0e8672309 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 3 Sep 2023 00:06:42 +0200 Subject: [PATCH] [docs] Fix references --- docs/data/toolpad/reference/components/text.md | 2 +- .../src/toolpad/AppEditor/PageEditor/ComponentPanel.tsx | 4 ++-- .../src/toolpad/AppEditor/PageEditor/PageOptionsPanel.tsx | 2 +- packages/toolpad-components/src/Text.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/data/toolpad/reference/components/text.md b/docs/data/toolpad/reference/components/text.md index 53a9d5a861a..2178c948141 100644 --- a/docs/data/toolpad/reference/components/text.md +++ b/docs/data/toolpad/reference/components/text.md @@ -13,6 +13,6 @@ The Text component lets you display text. Text can be rendered in multiple forms | mode | string | "text" | Defines how the content is rendered. Either as plain text, markdown, or as a link. | | value | string | "text" | The text content. | | href | string | "about:blank" | The url that is being linked. | -| variant | string | "body1" | The MUI typography [variant](https://mui.com/material-ui/customization/typography/#variants) that is used to display the text. | +| variant | string | "body1" | The MaterialĀ UI typography [variant](https://mui.com/material-ui/customization/typography/#variants) that is used to display the text. | | loading | boolean | false | Displays a loading animation instead of the text. Can be used when the content is not available yet. | | sx | object | | The [`sx` prop](https://mui.com/system/getting-started/the-sx-prop/) is used for defining custom styles that have access to the theme. All MUI System properties are available via the `sx` prop. In addition, the `sx` prop allows you to specify any other CSS rules you may need. | diff --git a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/ComponentPanel.tsx b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/ComponentPanel.tsx index 0a01f831ad9..bc7348480bc 100644 --- a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/ComponentPanel.tsx +++ b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/ComponentPanel.tsx @@ -102,8 +102,8 @@ export default function ComponentPanel({ className }: ComponentPanelProps) { - Customize the app with a MUI theme. Read more about theming in the{' '} - + Customize the app with a Material UI theme. Read more about theming in the{' '} + docs . diff --git a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/PageOptionsPanel.tsx b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/PageOptionsPanel.tsx index a8a02e55877..c246d1268e7 100644 --- a/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/PageOptionsPanel.tsx +++ b/packages/toolpad-app/src/toolpad/AppEditor/PageEditor/PageOptionsPanel.tsx @@ -47,7 +47,7 @@ export default function PageOptionsPanel() { Control how the navigation panel is rendered in the final application. Read more in the{' '} diff --git a/packages/toolpad-components/src/Text.tsx b/packages/toolpad-components/src/Text.tsx index c1db79f9a06..705eb2cfd1e 100644 --- a/packages/toolpad-components/src/Text.tsx +++ b/packages/toolpad-components/src/Text.tsx @@ -313,7 +313,7 @@ export default createBuiltin(Text, { }, variant: { helperText: - 'The MUI typography [variant](https://mui.com/material-ui/customization/typography/#variants) that is used to display the text.', + 'The MaterialĀ UI typography [variant](https://mui.com/material-ui/customization/typography/#variants) that is used to display the text.', type: 'string', enum: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2'], default: 'body1',