/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/translations/api-docs/typography/typography.json
128 строк
5 KB
Siriwat K
[typography] remove deprecated props (#47986)
17 мар 2026, 13:05
Не верифицирован
17 мар 2026, 13:05
784bf37
Код
Авторство
О чём код?
{ "componentDescription": "", "propDescriptions": { "align": { "description": "Set the text-align on the component." }, "children": { "description": "The content of the component." }, "classes": { "description": "Override or extend the styles applied to the component." }, "color": { "description": "The color of the component. It supports both default and custom theme colors, which can be added as shown in the <a href=\"https://mui.com/material-ui/customization/palette/#custom-colors\">palette customization guide</a>." }, "component": { "description": "The component used for the root node. Either a string to use a HTML element or a component." }, "gutterBottom": { "description": "If <code>true</code>, the text will have a bottom margin." }, "noWrap": { "description": "If <code>true</code>, the text will not wrap, but instead will truncate with a text overflow ellipsis.<br>Note that text overflow can only happen with block or inline-block level elements (the element needs to have a width in order to overflow)." }, "sx": { "description": "The system prop that allows defining system overrides as well as additional CSS styles." }, "variant": { "description": "Applies the theme typography styles." }, "variantMapping": { "description": "The component maps the variant prop to a range of different HTML element types. For instance, subtitle1 to <code><h6></code>. If you wish to change that mapping, you can provide your own. Alternatively, you can use the <code>component</code> prop." } }, "classDescriptions": { "alignCenter": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>align=\"center\"</code>" }, "alignJustify": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>align=\"justify\"</code>" }, "alignLeft": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>align=\"left\"</code>" }, "alignRight": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>align=\"right\"</code>" }, "body1": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"body1\"</code>" }, "body2": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"body2\"</code>" }, "button": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"button\"</code>" }, "caption": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"caption\"</code>" }, "gutterBottom": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>gutterBottom={true}</code>" }, "h1": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h1\"</code>" }, "h2": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h2\"</code>" }, "h3": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h3\"</code>" }, "h4": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h4\"</code>" }, "h5": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h5\"</code>" }, "h6": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"h6\"</code>" }, "inherit": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"inherit\"</code>" }, "noWrap": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>nowrap={true}</code>" }, "overline": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"overline\"</code>" }, "root": { "description": "Styles applied to the root element." }, "subtitle1": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"subtitle1\"</code>" }, "subtitle2": { "description": "Styles applied to {{nodeName}} if {{conditions}}.", "nodeName": "the root element", "conditions": "<code>variant=\"subtitle2\"</code>" } } }