index
int64 0
0
| repo_id
stringlengths 16
181
| file_path
stringlengths 28
270
| content
stringlengths 1
11.6M
| __index_level_0__
int64 0
10k
|
---|---|---|---|---|
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/autocomplete.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './autocomplete.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/autocomplete',
false,
/autocomplete.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,600 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/autocomplete.json | {
"props": {
"options": { "type": { "name": "array" }, "required": true },
"renderInput": {
"type": { "name": "func" },
"required": true,
"signature": { "type": "function(params: object) => ReactNode", "describedArgs": [] }
},
"autoComplete": { "type": { "name": "bool" }, "default": "false" },
"autoHighlight": { "type": { "name": "bool" }, "default": "false" },
"autoSelect": { "type": { "name": "bool" }, "default": "false" },
"blurOnSelect": {
"type": {
"name": "union",
"description": "'mouse'<br>| 'touch'<br>| bool"
},
"default": "false"
},
"ChipProps": { "type": { "name": "object" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"clearIcon": { "type": { "name": "node" }, "default": "<ClearIcon fontSize=\"small\" />" },
"clearOnBlur": { "type": { "name": "bool" }, "default": "!props.freeSolo" },
"clearOnEscape": { "type": { "name": "bool" }, "default": "false" },
"clearText": { "type": { "name": "string" }, "default": "'Clear'" },
"closeText": { "type": { "name": "string" }, "default": "'Close'" },
"componentsProps": {
"type": {
"name": "shape",
"description": "{ clearIndicator?: object, paper?: object, popper?: object, popupIndicator?: object }"
},
"default": "{}"
},
"defaultValue": {
"type": { "name": "custom", "description": "any" },
"default": "props.multiple ? [] : null"
},
"disableClearable": { "type": { "name": "bool" }, "default": "false" },
"disableCloseOnSelect": { "type": { "name": "bool" }, "default": "false" },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disabledItemsFocusable": { "type": { "name": "bool" }, "default": "false" },
"disableListWrap": { "type": { "name": "bool" }, "default": "false" },
"disablePortal": { "type": { "name": "bool" }, "default": "false" },
"filterOptions": {
"type": { "name": "func" },
"default": "createFilterOptions()",
"signature": {
"type": "function(options: Array<Value>, state: object) => Array<Value>",
"describedArgs": ["options", "state"]
}
},
"filterSelectedOptions": { "type": { "name": "bool" }, "default": "false" },
"forcePopupIcon": {
"type": { "name": "union", "description": "'auto'<br>| bool" },
"default": "'auto'"
},
"freeSolo": { "type": { "name": "bool" }, "default": "false" },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"getLimitTagsText": {
"type": { "name": "func" },
"default": "(more) => `+${more}`",
"signature": { "type": "function(more: number) => ReactNode", "describedArgs": ["more"] }
},
"getOptionDisabled": {
"type": { "name": "func" },
"signature": { "type": "function(option: Value) => boolean", "describedArgs": ["option"] }
},
"getOptionLabel": {
"type": { "name": "func" },
"default": "(option) => option.label ?? option",
"signature": { "type": "function(option: Value) => string", "describedArgs": [] }
},
"groupBy": {
"type": { "name": "func" },
"signature": { "type": "function(options: Value) => string", "describedArgs": ["options"] }
},
"handleHomeEndKeys": { "type": { "name": "bool" }, "default": "!props.freeSolo" },
"id": { "type": { "name": "string" } },
"includeInputInList": { "type": { "name": "bool" }, "default": "false" },
"inputValue": { "type": { "name": "string" } },
"isOptionEqualToValue": {
"type": { "name": "func" },
"signature": {
"type": "function(option: Value, value: Value) => boolean",
"describedArgs": ["option", "value"]
}
},
"limitTags": { "type": { "name": "custom", "description": "integer" }, "default": "-1" },
"ListboxComponent": { "type": { "name": "elementType" }, "default": "'ul'" },
"ListboxProps": { "type": { "name": "object" } },
"loading": { "type": { "name": "bool" }, "default": "false" },
"loadingText": { "type": { "name": "node" }, "default": "'Loading…'" },
"multiple": { "type": { "name": "bool" }, "default": "false" },
"noOptionsText": { "type": { "name": "node" }, "default": "'No options'" },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent, value: Value | Array<Value>, reason: string, details?: string) => void",
"describedArgs": ["event", "value", "reason"]
}
},
"onClose": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent, reason: string) => void",
"describedArgs": ["event", "reason"]
}
},
"onHighlightChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent, option: Value, reason: string) => void",
"describedArgs": ["event", "option", "reason"]
}
},
"onInputChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent, value: string, reason: string) => void",
"describedArgs": ["event", "value", "reason"]
}
},
"onOpen": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent) => void",
"describedArgs": ["event"]
}
},
"open": { "type": { "name": "bool" } },
"openOnFocus": { "type": { "name": "bool" }, "default": "false" },
"openText": { "type": { "name": "string" }, "default": "'Open'" },
"PaperComponent": { "type": { "name": "elementType" }, "default": "Paper" },
"PopperComponent": { "type": { "name": "elementType" }, "default": "Popper" },
"popupIcon": { "type": { "name": "node" }, "default": "<ArrowDropDownIcon />" },
"readOnly": { "type": { "name": "bool" }, "default": "false" },
"renderGroup": {
"type": { "name": "func" },
"signature": {
"type": "function(params: AutocompleteRenderGroupParams) => ReactNode",
"describedArgs": ["params"]
}
},
"renderOption": {
"type": { "name": "func" },
"signature": {
"type": "function(props: object, option: Value, state: object, ownerState: object) => ReactNode",
"describedArgs": ["props", "option", "state", "ownerState"]
}
},
"renderTags": {
"type": { "name": "func" },
"signature": {
"type": "function(value: Array<Value>, getTagProps: function, ownerState: object) => ReactNode",
"describedArgs": ["value", "getTagProps", "ownerState"]
}
},
"selectOnFocus": { "type": { "name": "bool" }, "default": "!props.freeSolo" },
"size": {
"type": {
"name": "union",
"description": "'small'<br>| 'medium'<br>| string"
},
"default": "'medium'"
},
"slotProps": {
"type": {
"name": "shape",
"description": "{ clearIndicator?: object, paper?: object, popper?: object, popupIndicator?: object }"
},
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "custom", "description": "any" } }
},
"name": "Autocomplete",
"imports": [
"import Autocomplete from '@mui/material/Autocomplete';",
"import { Autocomplete } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"fullWidth",
"expanded",
"focused",
"focusVisible",
"tag",
"tagSizeSmall",
"tagSizeMedium",
"hasPopupIcon",
"hasClearIcon",
"inputRoot",
"input",
"inputFocused",
"endAdornment",
"clearIndicator",
"popupIndicator",
"popupIndicatorOpen",
"popper",
"popperDisablePortal",
"paper",
"listbox",
"loading",
"noOptions",
"option",
"groupLabel",
"groupUl"
],
"globalClasses": {
"expanded": "Mui-expanded",
"focused": "Mui-focused",
"focusVisible": "Mui-focusVisible"
},
"name": "MuiAutocomplete"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiAutocomplete",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Autocomplete/Autocomplete.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-autocomplete/\">Autocomplete</a></li></ul>",
"cssComponent": false
}
| 4,601 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/avatar-group.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './avatar-group.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/avatar-group',
false,
/avatar-group.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,602 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/avatar-group.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"componentsProps": {
"type": { "name": "shape", "description": "{ additionalAvatar?: object }" },
"default": "{}"
},
"max": { "type": { "name": "custom", "description": "number" }, "default": "5" },
"renderSurplus": {
"type": { "name": "func" },
"signature": {
"type": "function(surplus: number) => React.ReactNode",
"describedArgs": ["surplus"],
"returned": "React.ReactNode"
}
},
"slotProps": {
"type": { "name": "shape", "description": "{ additionalAvatar?: object }" },
"default": "{}"
},
"spacing": {
"type": {
"name": "union",
"description": "'medium'<br>| 'small'<br>| number"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"total": { "type": { "name": "number" }, "default": "children.length" },
"variant": {
"type": {
"name": "union",
"description": "'circular'<br>| 'rounded'<br>| 'square'<br>| string"
},
"default": "'circular'"
}
},
"name": "AvatarGroup",
"imports": [
"import AvatarGroup from '@mui/material/AvatarGroup';",
"import { AvatarGroup } from '@mui/material';"
],
"styles": { "classes": ["root", "avatar"], "globalClasses": {}, "name": "MuiAvatarGroup" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiAvatarGroup",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/AvatarGroup/AvatarGroup.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-avatar/\">Avatar</a></li></ul>",
"cssComponent": false
}
| 4,603 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/avatar.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './avatar.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/avatar', false, /avatar.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,604 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/avatar.json | {
"props": {
"alt": { "type": { "name": "string" } },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"imgProps": { "type": { "name": "object" } },
"sizes": { "type": { "name": "string" } },
"src": { "type": { "name": "string" } },
"srcSet": { "type": { "name": "string" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'circular'<br>| 'rounded'<br>| 'square'<br>| string"
},
"default": "'circular'"
}
},
"name": "Avatar",
"imports": [
"import Avatar from '@mui/material/Avatar';",
"import { Avatar } from '@mui/material';"
],
"styles": {
"classes": ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"],
"globalClasses": {},
"name": "MuiAvatar"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiAvatar",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Avatar/Avatar.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-avatar/\">Avatar</a></li></ul>",
"cssComponent": false
}
| 4,605 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/backdrop.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './backdrop.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/backdrop', false, /backdrop.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,606 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/backdrop.json | {
"props": {
"open": { "type": { "name": "bool" }, "required": true },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"components": {
"type": { "name": "shape", "description": "{ Root?: elementType }" },
"default": "{}"
},
"componentsProps": {
"type": { "name": "shape", "description": "{ root?: object }" },
"default": "{}"
},
"invisible": { "type": { "name": "bool" }, "default": "false" },
"slotProps": {
"type": { "name": "shape", "description": "{ root?: object }" },
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ root?: elementType }" },
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"TransitionComponent": { "type": { "name": "elementType" }, "default": "Fade" },
"transitionDuration": {
"type": {
"name": "union",
"description": "number<br>| { appear?: number, enter?: number, exit?: number }"
}
}
},
"name": "Backdrop",
"imports": [
"import Backdrop from '@mui/material/Backdrop';",
"import { Backdrop } from '@mui/material';"
],
"styles": { "classes": ["root", "invisible"], "globalClasses": {}, "name": "MuiBackdrop" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBackdrop",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Backdrop/Backdrop.js",
"inheritance": { "component": "Fade", "pathname": "/material-ui/api/fade/" },
"demos": "<ul><li><a href=\"/material-ui/react-backdrop/\">Backdrop</a></li></ul>",
"cssComponent": false
}
| 4,607 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/badge.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './badge.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/badge', false, /badge.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,608 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/badge.json | {
"props": {
"anchorOrigin": {
"type": {
"name": "shape",
"description": "{ horizontal: 'left'<br>| 'right', vertical: 'bottom'<br>| 'top' }"
},
"default": "{\n vertical: 'top',\n horizontal: 'right',\n}"
},
"badgeContent": { "type": { "name": "node" } },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'default'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'default'"
},
"component": { "type": { "name": "elementType" } },
"components": {
"type": { "name": "shape", "description": "{ Badge?: elementType, Root?: elementType }" },
"default": "{}"
},
"componentsProps": {
"type": {
"name": "shape",
"description": "{ badge?: func<br>| object, root?: func<br>| object }"
},
"default": "{}"
},
"invisible": { "type": { "name": "bool" }, "default": "false" },
"max": { "type": { "name": "number" }, "default": "99" },
"overlap": {
"type": { "name": "enum", "description": "'circular'<br>| 'rectangular'" },
"default": "'rectangular'"
},
"showZero": { "type": { "name": "bool" }, "default": "false" },
"slotProps": {
"type": {
"name": "shape",
"description": "{ badge?: func<br>| object, root?: func<br>| object }"
},
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ badge?: elementType, root?: elementType }" },
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'dot'<br>| 'standard'<br>| string"
},
"default": "'standard'"
}
},
"name": "Badge",
"imports": ["import Badge from '@mui/material/Badge';", "import { Badge } from '@mui/material';"],
"styles": {
"classes": [
"root",
"badge",
"dot",
"standard",
"anchorOriginTopRight",
"anchorOriginBottomRight",
"anchorOriginTopLeft",
"anchorOriginBottomLeft",
"invisible",
"colorPrimary",
"colorSecondary",
"colorError",
"colorInfo",
"colorSuccess",
"colorWarning",
"anchorOriginTopRightRectangular",
"anchorOriginBottomRightRectangular",
"anchorOriginTopLeftRectangular",
"anchorOriginBottomLeftRectangular",
"anchorOriginTopRightCircular",
"anchorOriginBottomRightCircular",
"anchorOriginTopLeftCircular",
"anchorOriginBottomLeftCircular",
"overlapRectangular",
"overlapCircular"
],
"globalClasses": {},
"name": "MuiBadge"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBadge",
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-material/src/Badge/Badge.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-avatar/\">Avatar</a></li>\n<li><a href=\"/material-ui/react-badge/\">Badge</a></li></ul>",
"cssComponent": false
}
| 4,609 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/bottom-navigation-action.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './bottom-navigation-action.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/bottom-navigation-action',
false,
/bottom-navigation-action.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,610 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/bottom-navigation-action.json | {
"props": {
"children": { "type": { "name": "custom", "description": "unsupportedProp" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"icon": { "type": { "name": "node" } },
"label": { "type": { "name": "node" } },
"showLabel": { "type": { "name": "bool" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "any" } }
},
"name": "BottomNavigationAction",
"imports": [
"import BottomNavigationAction from '@mui/material/BottomNavigationAction';",
"import { BottomNavigationAction } from '@mui/material';"
],
"styles": {
"classes": ["root", "selected", "iconOnly", "label"],
"globalClasses": { "selected": "Mui-selected" },
"name": "MuiBottomNavigationAction"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBottomNavigationAction",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/BottomNavigationAction/BottomNavigationAction.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-bottom-navigation/\">Bottom Navigation</a></li></ul>",
"cssComponent": false
}
| 4,611 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/bottom-navigation.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './bottom-navigation.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/bottom-navigation',
false,
/bottom-navigation.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,612 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/bottom-navigation.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent, value: any) => void",
"describedArgs": ["event", "value"]
}
},
"showLabels": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "any" } }
},
"name": "BottomNavigation",
"imports": [
"import BottomNavigation from '@mui/material/BottomNavigation';",
"import { BottomNavigation } from '@mui/material';"
],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiBottomNavigation" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBottomNavigation",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/BottomNavigation/BottomNavigation.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-bottom-navigation/\">Bottom Navigation</a></li></ul>",
"cssComponent": false
}
| 4,613 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/box.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './box.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/box', false, /box.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,614 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/box.json | {
"props": {
"component": { "type": { "name": "elementType" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Box",
"imports": ["import Box from '@mui/material/Box';", "import { Box } from '@mui/material';"],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiBox" },
"spread": true,
"themeDefaultProps": false,
"muiName": "MuiBox",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Box/Box.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-box/\">Box</a></li></ul>",
"cssComponent": true
}
| 4,615 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/breadcrumbs.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './breadcrumbs.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/breadcrumbs',
false,
/breadcrumbs.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,616 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/breadcrumbs.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"expandText": { "type": { "name": "string" }, "default": "'Show path'" },
"itemsAfterCollapse": {
"type": { "name": "custom", "description": "integer" },
"default": "1"
},
"itemsBeforeCollapse": {
"type": { "name": "custom", "description": "integer" },
"default": "1"
},
"maxItems": { "type": { "name": "custom", "description": "integer" }, "default": "8" },
"separator": { "type": { "name": "node" }, "default": "'/'" },
"slotProps": {
"type": { "name": "shape", "description": "{ collapsedIcon?: func<br>| object }" },
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ CollapsedIcon?: elementType }" },
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Breadcrumbs",
"imports": [
"import Breadcrumbs from '@mui/material/Breadcrumbs';",
"import { Breadcrumbs } from '@mui/material';"
],
"styles": {
"classes": ["root", "ol", "li", "separator"],
"globalClasses": {},
"name": "MuiBreadcrumbs"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiBreadcrumbs",
"forwardsRefTo": "HTMLElement",
"filename": "/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js",
"inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" },
"demos": "<ul><li><a href=\"/material-ui/react-breadcrumbs/\">Breadcrumbs</a></li></ul>",
"cssComponent": false
}
| 4,617 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button-base.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './button-base.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/button-base',
false,
/button-base.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,618 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button-base.json | {
"props": {
"action": { "type": { "name": "custom", "description": "ref" } },
"centerRipple": { "type": { "name": "bool" }, "default": "false" },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "custom", "description": "element type" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"disableTouchRipple": { "type": { "name": "bool" }, "default": "false" },
"focusRipple": { "type": { "name": "bool" }, "default": "false" },
"focusVisibleClassName": { "type": { "name": "string" } },
"LinkComponent": { "type": { "name": "elementType" }, "default": "'a'" },
"onFocusVisible": { "type": { "name": "func" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"TouchRippleProps": { "type": { "name": "object" } },
"touchRippleRef": {
"type": {
"name": "union",
"description": "func<br>| { current?: { pulsate: func, start: func, stop: func } }"
}
}
},
"name": "ButtonBase",
"imports": [
"import ButtonBase from '@mui/material/ButtonBase';",
"import { ButtonBase } from '@mui/material';"
],
"styles": {
"classes": ["root", "disabled", "focusVisible"],
"globalClasses": { "disabled": "Mui-disabled", "focusVisible": "Mui-focusVisible" },
"name": "MuiButtonBase"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiButtonBase",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/ButtonBase/ButtonBase.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-button/\">Button</a></li></ul>",
"cssComponent": false
}
| 4,619 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button-group.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './button-group.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/button-group',
false,
/button-group.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,620 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button-group.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'primary'"
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableElevation": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"orientation": {
"type": { "name": "enum", "description": "'horizontal'<br>| 'vertical'" },
"default": "'horizontal'"
},
"size": {
"type": {
"name": "union",
"description": "'small'<br>| 'medium'<br>| 'large'<br>| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'contained'<br>| 'outlined'<br>| 'text'<br>| string"
},
"default": "'outlined'"
}
},
"name": "ButtonGroup",
"imports": [
"import ButtonGroup from '@mui/material/ButtonGroup';",
"import { ButtonGroup } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"contained",
"outlined",
"text",
"disableElevation",
"disabled",
"firstButton",
"fullWidth",
"vertical",
"grouped",
"groupedHorizontal",
"groupedVertical",
"groupedText",
"groupedTextHorizontal",
"groupedTextVertical",
"groupedTextPrimary",
"groupedTextSecondary",
"groupedOutlined",
"groupedOutlinedHorizontal",
"groupedOutlinedVertical",
"groupedOutlinedPrimary",
"groupedOutlinedSecondary",
"groupedContained",
"groupedContainedHorizontal",
"groupedContainedVertical",
"groupedContainedPrimary",
"groupedContainedSecondary",
"lastButton",
"middleButton"
],
"globalClasses": { "disabled": "Mui-disabled" },
"name": "MuiButtonGroup"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiButtonGroup",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/ButtonGroup/ButtonGroup.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-button-group/\">Button Group</a></li></ul>",
"cssComponent": false
}
| 4,621 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './button.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/button', false, /button.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,622 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/button.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'primary'<br>| 'secondary'<br>| 'success'<br>| 'error'<br>| 'info'<br>| 'warning'<br>| string"
},
"default": "'primary'"
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableElevation": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"endIcon": { "type": { "name": "node" } },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"href": { "type": { "name": "string" } },
"size": {
"type": {
"name": "union",
"description": "'small'<br>| 'medium'<br>| 'large'<br>| string"
},
"default": "'medium'"
},
"startIcon": { "type": { "name": "node" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'contained'<br>| 'outlined'<br>| 'text'<br>| string"
},
"default": "'text'"
}
},
"name": "Button",
"imports": [
"import Button from '@mui/material/Button';",
"import { Button } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"text",
"textInherit",
"textPrimary",
"textSecondary",
"textSuccess",
"textError",
"textInfo",
"textWarning",
"outlined",
"outlinedInherit",
"outlinedPrimary",
"outlinedSecondary",
"outlinedSuccess",
"outlinedError",
"outlinedInfo",
"outlinedWarning",
"contained",
"containedInherit",
"containedPrimary",
"containedSecondary",
"containedSuccess",
"containedInfo",
"containedError",
"containedWarning",
"disableElevation",
"focusVisible",
"disabled",
"colorInherit",
"textSizeSmall",
"textSizeMedium",
"textSizeLarge",
"outlinedSizeSmall",
"outlinedSizeMedium",
"outlinedSizeLarge",
"containedSizeSmall",
"containedSizeMedium",
"containedSizeLarge",
"sizeSmall",
"sizeMedium",
"sizeLarge",
"fullWidth",
"startIcon",
"endIcon",
"iconSizeSmall",
"iconSizeMedium",
"iconSizeLarge"
],
"globalClasses": { "focusVisible": "Mui-focusVisible", "disabled": "Mui-disabled" },
"name": "MuiButton"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiButton",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/Button/Button.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-button-group/\">Button Group</a></li>\n<li><a href=\"/material-ui/react-button/\">Button</a></li></ul>",
"cssComponent": false
}
| 4,623 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-action-area.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card-action-area.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/card-action-area',
false,
/card-action-area.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,624 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-action-area.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "CardActionArea",
"imports": [
"import CardActionArea from '@mui/material/CardActionArea';",
"import { CardActionArea } from '@mui/material';"
],
"styles": {
"classes": ["root", "focusVisible", "focusHighlight"],
"globalClasses": { "focusVisible": "Mui-focusVisible" },
"name": "MuiCardActionArea"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardActionArea",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/CardActionArea/CardActionArea.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,625 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-actions.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card-actions.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/card-actions',
false,
/card-actions.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,626 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-actions.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"disableSpacing": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "CardActions",
"imports": [
"import CardActions from '@mui/material/CardActions';",
"import { CardActions } from '@mui/material';"
],
"styles": { "classes": ["root", "spacing"], "globalClasses": {}, "name": "MuiCardActions" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardActions",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/CardActions/CardActions.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,627 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-content.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card-content.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/card-content',
false,
/card-content.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,628 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-content.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "CardContent",
"imports": [
"import CardContent from '@mui/material/CardContent';",
"import { CardContent } from '@mui/material';"
],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiCardContent" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardContent",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/CardContent/CardContent.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,629 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-header.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card-header.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/card-header',
false,
/card-header.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,630 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-header.json | {
"props": {
"action": { "type": { "name": "node" } },
"avatar": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"disableTypography": { "type": { "name": "bool" }, "default": "false" },
"subheader": { "type": { "name": "node" } },
"subheaderTypographyProps": { "type": { "name": "object" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"title": { "type": { "name": "node" } },
"titleTypographyProps": { "type": { "name": "object" } }
},
"name": "CardHeader",
"imports": [
"import CardHeader from '@mui/material/CardHeader';",
"import { CardHeader } from '@mui/material';"
],
"styles": {
"classes": ["root", "avatar", "action", "content", "title", "subheader"],
"globalClasses": {},
"name": "MuiCardHeader"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardHeader",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/CardHeader/CardHeader.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,631 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-media.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card-media.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/card-media', false, /card-media.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,632 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card-media.json | {
"props": {
"children": { "type": { "name": "custom", "description": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"image": { "type": { "name": "string" } },
"src": { "type": { "name": "string" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "CardMedia",
"imports": [
"import CardMedia from '@mui/material/CardMedia';",
"import { CardMedia } from '@mui/material';"
],
"styles": { "classes": ["root", "media", "img"], "globalClasses": {}, "name": "MuiCardMedia" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCardMedia",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/CardMedia/CardMedia.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,633 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './card.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/card', false, /card.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,634 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/card.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"raised": { "type": { "name": "custom", "description": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Card",
"imports": ["import Card from '@mui/material/Card';", "import { Card } from '@mui/material';"],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiCard" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCard",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Card/Card.js",
"inheritance": { "component": "Paper", "pathname": "/material-ui/api/paper/" },
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li></ul>",
"cssComponent": false
}
| 4,635 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/checkbox.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './checkbox.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/checkbox', false, /checkbox.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,636 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/checkbox.json | {
"props": {
"checked": { "type": { "name": "bool" } },
"checkedIcon": { "type": { "name": "node" }, "default": "<CheckBoxIcon />" },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'default'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'primary'"
},
"defaultChecked": { "type": { "name": "bool" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"icon": { "type": { "name": "node" }, "default": "<CheckBoxOutlineBlankIcon />" },
"id": { "type": { "name": "string" } },
"indeterminate": { "type": { "name": "bool" }, "default": "false" },
"indeterminateIcon": { "type": { "name": "node" }, "default": "<IndeterminateCheckBoxIcon />" },
"inputProps": { "type": { "name": "object" } },
"inputRef": { "type": { "name": "custom", "description": "ref" } },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.ChangeEvent<HTMLInputElement>) => void",
"describedArgs": ["event"]
}
},
"required": { "type": { "name": "bool" }, "default": "false" },
"size": {
"type": {
"name": "union",
"description": "'medium'<br>| 'small'<br>| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "any" } }
},
"name": "Checkbox",
"imports": [
"import Checkbox from '@mui/material/Checkbox';",
"import { Checkbox } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"checked",
"disabled",
"indeterminate",
"colorPrimary",
"colorSecondary",
"sizeSmall",
"sizeMedium"
],
"globalClasses": { "checked": "Mui-checked", "disabled": "Mui-disabled" },
"name": "MuiCheckbox"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCheckbox",
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-material/src/Checkbox/Checkbox.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-transfer-list/\">Transfer List</a></li></ul>",
"cssComponent": false
}
| 4,637 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/chip.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './chip.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/chip', false, /chip.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,638 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/chip.json | {
"props": {
"avatar": { "type": { "name": "element" } },
"children": { "type": { "name": "custom", "description": "unsupportedProp" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"clickable": { "type": { "name": "bool" } },
"color": {
"type": {
"name": "union",
"description": "'default'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'default'"
},
"component": { "type": { "name": "elementType" } },
"deleteIcon": { "type": { "name": "element" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"icon": { "type": { "name": "element" } },
"label": { "type": { "name": "node" } },
"onDelete": { "type": { "name": "func" } },
"size": {
"type": {
"name": "union",
"description": "'medium'<br>| 'small'<br>| string"
},
"default": "'medium'"
},
"skipFocusWhenDisabled": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'filled'<br>| 'outlined'<br>| string"
},
"default": "'filled'"
}
},
"name": "Chip",
"imports": ["import Chip from '@mui/material/Chip';", "import { Chip } from '@mui/material';"],
"styles": {
"classes": [
"root",
"sizeSmall",
"sizeMedium",
"colorError",
"colorInfo",
"colorPrimary",
"colorSecondary",
"colorSuccess",
"colorWarning",
"disabled",
"clickable",
"clickableColorPrimary",
"clickableColorSecondary",
"deletable",
"deletableColorPrimary",
"deletableColorSecondary",
"outlined",
"filled",
"outlinedPrimary",
"outlinedSecondary",
"filledPrimary",
"filledSecondary",
"avatar",
"avatarSmall",
"avatarMedium",
"avatarColorPrimary",
"avatarColorSecondary",
"icon",
"iconSmall",
"iconMedium",
"iconColorPrimary",
"iconColorSecondary",
"label",
"labelSmall",
"labelMedium",
"deleteIcon",
"deleteIconSmall",
"deleteIconMedium",
"deleteIconColorPrimary",
"deleteIconColorSecondary",
"deleteIconOutlinedColorPrimary",
"deleteIconOutlinedColorSecondary",
"deleteIconFilledColorPrimary",
"deleteIconFilledColorSecondary",
"focusVisible"
],
"globalClasses": { "disabled": "Mui-disabled", "focusVisible": "Mui-focusVisible" },
"name": "MuiChip"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiChip",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Chip/Chip.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-chip/\">Chip</a></li></ul>",
"cssComponent": false
}
| 4,639 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/circular-progress.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './circular-progress.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/circular-progress',
false,
/circular-progress.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,640 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/circular-progress.json | {
"props": {
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'primary'"
},
"disableShrink": { "type": { "name": "custom", "description": "bool" }, "default": "false" },
"size": {
"type": { "name": "union", "description": "number<br>| string" },
"default": "40"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"thickness": { "type": { "name": "number" }, "default": "3.6" },
"value": { "type": { "name": "number" }, "default": "0" },
"variant": {
"type": { "name": "enum", "description": "'determinate'<br>| 'indeterminate'" },
"default": "'indeterminate'"
}
},
"name": "CircularProgress",
"imports": [
"import CircularProgress from '@mui/material/CircularProgress';",
"import { CircularProgress } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"determinate",
"indeterminate",
"colorPrimary",
"colorSecondary",
"svg",
"circle",
"circleDeterminate",
"circleIndeterminate",
"circleDisableShrink"
],
"globalClasses": {},
"name": "MuiCircularProgress"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCircularProgress",
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-material/src/CircularProgress/CircularProgress.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-progress/\">Progress</a></li></ul>",
"cssComponent": false
}
| 4,641 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/collapse.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './collapse.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/collapse', false, /collapse.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,642 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/collapse.json | {
"props": {
"addEndListener": { "type": { "name": "func" } },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"collapsedSize": {
"type": { "name": "union", "description": "number<br>| string" },
"default": "'0px'"
},
"component": { "type": { "name": "custom", "description": "element type" } },
"easing": {
"type": {
"name": "union",
"description": "{ enter?: string, exit?: string }<br>| string"
}
},
"in": { "type": { "name": "bool" } },
"orientation": {
"type": { "name": "enum", "description": "'horizontal'<br>| 'vertical'" },
"default": "'vertical'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"timeout": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| { appear?: number, enter?: number, exit?: number }"
},
"default": "duration.standard"
}
},
"name": "Collapse",
"imports": [
"import Collapse from '@mui/material/Collapse';",
"import { Collapse } from '@mui/material';"
],
"styles": {
"classes": ["root", "horizontal", "entered", "hidden", "wrapper", "wrapperInner"],
"globalClasses": {},
"name": "MuiCollapse"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiCollapse",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Collapse/Collapse.js",
"inheritance": {
"component": "Transition",
"pathname": "http://reactcommunity.org/react-transition-group/transition/#Transition-props"
},
"demos": "<ul><li><a href=\"/material-ui/react-card/\">Card</a></li>\n<li><a href=\"/material-ui/react-list/\">Lists</a></li>\n<li><a href=\"/material-ui/transitions/\">Transitions</a></li></ul>",
"cssComponent": false
}
| 4,643 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/container.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './container.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/container', false, /container.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,644 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/container.json | {
"props": {
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"disableGutters": { "type": { "name": "bool" } },
"fixed": { "type": { "name": "bool" } },
"maxWidth": {
"type": {
"name": "union",
"description": "'xs'<br>| 'sm'<br>| 'md'<br>| 'lg'<br>| 'xl'<br>| false<br>| string"
}
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Container",
"imports": [
"import Container from '@mui/material/Container';",
"import { Container } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"disableGutters",
"fixed",
"maxWidthXs",
"maxWidthSm",
"maxWidthMd",
"maxWidthLg",
"maxWidthXl"
],
"globalClasses": {},
"name": "MuiContainer"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiContainer",
"forwardsRefTo": "HTMLElement",
"filename": "/packages/mui-material/src/Container/Container.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-container/\">Container</a></li></ul>",
"cssComponent": false
}
| 4,645 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/css-baseline.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './css-baseline.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/css-baseline',
false,
/css-baseline.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,646 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/css-baseline.json | {
"props": {
"children": { "type": { "name": "node" } },
"enableColorScheme": { "type": { "name": "bool" }, "default": "false" }
},
"name": "CssBaseline",
"imports": [
"import CssBaseline from '@mui/material/CssBaseline';",
"import { CssBaseline } from '@mui/material';"
],
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"themeDefaultProps": null,
"muiName": "MuiCssBaseline",
"filename": "/packages/mui-material/src/CssBaseline/CssBaseline.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-css-baseline/\">CSS Baseline</a></li></ul>",
"cssComponent": false
}
| 4,647 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-actions.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './dialog-actions.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/dialog-actions',
false,
/dialog-actions.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,648 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-actions.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"disableSpacing": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "DialogActions",
"imports": [
"import DialogActions from '@mui/material/DialogActions';",
"import { DialogActions } from '@mui/material';"
],
"styles": { "classes": ["root", "spacing"], "globalClasses": {}, "name": "MuiDialogActions" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDialogActions",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/DialogActions/DialogActions.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-dialog/\">Dialog</a></li></ul>",
"cssComponent": false
}
| 4,649 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-content-text.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './dialog-content-text.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/dialog-content-text',
false,
/dialog-content-text.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,650 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-content-text.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "DialogContentText",
"imports": [
"import DialogContentText from '@mui/material/DialogContentText';",
"import { DialogContentText } from '@mui/material';"
],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiDialogContentText" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDialogContentText",
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-material/src/DialogContentText/DialogContentText.js",
"inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" },
"demos": "<ul><li><a href=\"/material-ui/react-dialog/\">Dialog</a></li></ul>",
"cssComponent": false
}
| 4,651 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-content.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './dialog-content.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/dialog-content',
false,
/dialog-content.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,652 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-content.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"dividers": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "DialogContent",
"imports": [
"import DialogContent from '@mui/material/DialogContent';",
"import { DialogContent } from '@mui/material';"
],
"styles": { "classes": ["root", "dividers"], "globalClasses": {}, "name": "MuiDialogContent" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDialogContent",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/DialogContent/DialogContent.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-dialog/\">Dialog</a></li></ul>",
"cssComponent": false
}
| 4,653 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-title.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './dialog-title.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/dialog-title',
false,
/dialog-title.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,654 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog-title.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "DialogTitle",
"imports": [
"import DialogTitle from '@mui/material/DialogTitle';",
"import { DialogTitle } from '@mui/material';"
],
"styles": { "classes": ["root"], "globalClasses": {}, "name": "MuiDialogTitle" },
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDialogTitle",
"forwardsRefTo": "HTMLHeadingElement",
"filename": "/packages/mui-material/src/DialogTitle/DialogTitle.js",
"inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" },
"demos": "<ul><li><a href=\"/material-ui/react-dialog/\">Dialog</a></li></ul>",
"cssComponent": false
}
| 4,655 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './dialog.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/dialog', false, /dialog.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,656 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/dialog.json | {
"props": {
"open": { "type": { "name": "bool" }, "required": true },
"aria-describedby": { "type": { "name": "string" } },
"aria-labelledby": { "type": { "name": "string" } },
"BackdropComponent": {
"type": { "name": "elementType" },
"default": "styled(Backdrop, {\n name: 'MuiModal',\n slot: 'Backdrop',\n overridesResolver: (props, styles) => {\n return styles.backdrop;\n },\n})({\n zIndex: -1,\n})",
"deprecated": true,
"deprecationInfo": "Use <code>slots.backdrop</code> instead. While this prop currently works, it will be removed in the next major version."
},
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"disableEscapeKeyDown": { "type": { "name": "bool" }, "default": "false" },
"fullScreen": { "type": { "name": "bool" }, "default": "false" },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"maxWidth": {
"type": {
"name": "union",
"description": "'xs'<br>| 'sm'<br>| 'md'<br>| 'lg'<br>| 'xl'<br>| false<br>| string"
},
"default": "'sm'"
},
"onBackdropClick": {
"type": { "name": "func" },
"deprecated": true,
"deprecationInfo": "Use the <code>onClose</code> prop with the <code>reason</code> argument to handle the <code>backdropClick</code> events."
},
"onClose": {
"type": { "name": "func" },
"signature": {
"type": "function(event: object, reason: string) => void",
"describedArgs": ["event", "reason"]
}
},
"PaperComponent": { "type": { "name": "elementType" }, "default": "Paper" },
"PaperProps": { "type": { "name": "object" }, "default": "{}" },
"scroll": {
"type": { "name": "enum", "description": "'body'<br>| 'paper'" },
"default": "'paper'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"TransitionComponent": { "type": { "name": "elementType" }, "default": "Fade" },
"transitionDuration": {
"type": {
"name": "union",
"description": "number<br>| { appear?: number, enter?: number, exit?: number }"
},
"default": "{\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen,\n}"
},
"TransitionProps": { "type": { "name": "object" } }
},
"name": "Dialog",
"imports": [
"import Dialog from '@mui/material/Dialog';",
"import { Dialog } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"scrollPaper",
"scrollBody",
"container",
"paper",
"paperScrollPaper",
"paperScrollBody",
"paperWidthFalse",
"paperWidthXs",
"paperWidthSm",
"paperWidthMd",
"paperWidthLg",
"paperWidthXl",
"paperFullWidth",
"paperFullScreen"
],
"globalClasses": {},
"name": "MuiDialog"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDialog",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Dialog/Dialog.js",
"inheritance": { "component": "Modal", "pathname": "/material-ui/api/modal/" },
"demos": "<ul><li><a href=\"/material-ui/react-dialog/\">Dialog</a></li></ul>",
"cssComponent": false
}
| 4,657 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/divider.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './divider.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/divider', false, /divider.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,658 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/divider.json | {
"props": {
"absolute": { "type": { "name": "bool" }, "default": "false" },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"flexItem": { "type": { "name": "bool" }, "default": "false" },
"light": { "type": { "name": "bool" }, "default": "false" },
"orientation": {
"type": { "name": "enum", "description": "'horizontal'<br>| 'vertical'" },
"default": "'horizontal'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"textAlign": {
"type": {
"name": "enum",
"description": "'center'<br>| 'left'<br>| 'right'"
},
"default": "'center'"
},
"variant": {
"type": {
"name": "union",
"description": "'fullWidth'<br>| 'inset'<br>| 'middle'<br>| string"
},
"default": "'fullWidth'"
}
},
"name": "Divider",
"imports": [
"import Divider from '@mui/material/Divider';",
"import { Divider } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"absolute",
"inset",
"fullWidth",
"light",
"middle",
"vertical",
"flexItem",
"withChildren",
"withChildrenVertical",
"textAlignRight",
"textAlignLeft",
"wrapper",
"wrapperVertical"
],
"globalClasses": {},
"name": "MuiDivider"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDivider",
"forwardsRefTo": "HTMLHRElement",
"filename": "/packages/mui-material/src/Divider/Divider.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-divider/\">Divider</a></li>\n<li><a href=\"/material-ui/react-list/\">Lists</a></li></ul>",
"cssComponent": false
}
| 4,659 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/drawer.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './drawer.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/drawer', false, /drawer.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,660 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/drawer.json | {
"props": {
"anchor": {
"type": {
"name": "enum",
"description": "'bottom'<br>| 'left'<br>| 'right'<br>| 'top'"
},
"default": "'left'"
},
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"elevation": { "type": { "name": "custom", "description": "integer" }, "default": "16" },
"hideBackdrop": { "type": { "name": "bool" }, "default": "false" },
"ModalProps": { "type": { "name": "object" }, "default": "{}" },
"onClose": {
"type": { "name": "func" },
"signature": {
"type": "function(event: object, reason: string) => void",
"describedArgs": ["event", "reason"]
}
},
"open": { "type": { "name": "bool" }, "default": "false" },
"PaperProps": { "type": { "name": "object" }, "default": "{}" },
"SlideProps": { "type": { "name": "object" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"transitionDuration": {
"type": {
"name": "union",
"description": "number<br>| { appear?: number, enter?: number, exit?: number }"
},
"default": "{\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen,\n}"
},
"variant": {
"type": {
"name": "enum",
"description": "'permanent'<br>| 'persistent'<br>| 'temporary'"
},
"default": "'temporary'"
}
},
"name": "Drawer",
"imports": [
"import Drawer from '@mui/material/Drawer';",
"import { Drawer } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"docked",
"paper",
"paperAnchorLeft",
"paperAnchorRight",
"paperAnchorTop",
"paperAnchorBottom",
"paperAnchorDockedLeft",
"paperAnchorDockedTop",
"paperAnchorDockedRight",
"paperAnchorDockedBottom",
"modal"
],
"globalClasses": {},
"name": "MuiDrawer"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiDrawer",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Drawer/Drawer.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-drawer/\">Drawer</a></li></ul>",
"cssComponent": false
}
| 4,661 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/fab.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './fab.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/fab', false, /fab.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,662 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/fab.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'default'<br>| 'error'<br>| 'info'<br>| 'inherit'<br>| 'primary'<br>| 'secondary'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'default'"
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" } },
"href": { "type": { "name": "string" } },
"size": {
"type": {
"name": "union",
"description": "'small'<br>| 'medium'<br>| 'large'<br>| string"
},
"default": "'large'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'circular'<br>| 'extended'<br>| string"
},
"default": "'circular'"
}
},
"name": "Fab",
"imports": ["import Fab from '@mui/material/Fab';", "import { Fab } from '@mui/material';"],
"styles": {
"classes": [
"root",
"primary",
"secondary",
"extended",
"circular",
"focusVisible",
"disabled",
"colorInherit",
"sizeSmall",
"sizeMedium"
],
"globalClasses": { "focusVisible": "Mui-focusVisible", "disabled": "Mui-disabled" },
"name": "MuiFab"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFab",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/Fab/Fab.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-floating-action-button/\">Floating Action Button</a></li></ul>",
"cssComponent": false
}
| 4,663 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/fade.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './fade.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/fade', false, /fade.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,664 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/fade.json | {
"props": {
"children": { "type": { "name": "custom", "description": "element" }, "required": true },
"addEndListener": { "type": { "name": "func" } },
"appear": { "type": { "name": "bool" }, "default": "true" },
"easing": {
"type": {
"name": "union",
"description": "{ enter?: string, exit?: string }<br>| string"
}
},
"in": { "type": { "name": "bool" } },
"timeout": {
"type": {
"name": "union",
"description": "number<br>| { appear?: number, enter?: number, exit?: number }"
},
"default": "{\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen,\n}"
}
},
"name": "Fade",
"imports": ["import Fade from '@mui/material/Fade';", "import { Fade } from '@mui/material';"],
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"themeDefaultProps": false,
"muiName": "MuiFade",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Fade/Fade.js",
"inheritance": {
"component": "Transition",
"pathname": "http://reactcommunity.org/react-transition-group/transition/#Transition-props"
},
"demos": "<ul><li><a href=\"/material-ui/transitions/\">Transitions</a></li></ul>",
"cssComponent": false
}
| 4,665 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/filled-input.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './filled-input.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/filled-input',
false,
/filled-input.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,666 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/filled-input.json | {
"props": {
"autoComplete": { "type": { "name": "string" } },
"autoFocus": { "type": { "name": "bool" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'<br>| 'secondary'<br>| string"
}
},
"components": {
"type": { "name": "shape", "description": "{ Input?: elementType, Root?: elementType }" },
"default": "{}"
},
"componentsProps": {
"type": { "name": "shape", "description": "{ input?: object, root?: object }" },
"default": "{}"
},
"defaultValue": { "type": { "name": "any" } },
"disabled": { "type": { "name": "bool" } },
"disableUnderline": { "type": { "name": "bool" } },
"endAdornment": { "type": { "name": "node" } },
"error": { "type": { "name": "bool" } },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"hiddenLabel": { "type": { "name": "bool" }, "default": "false" },
"id": { "type": { "name": "string" } },
"inputComponent": { "type": { "name": "elementType" }, "default": "'input'" },
"inputProps": { "type": { "name": "object" }, "default": "{}" },
"inputRef": { "type": { "name": "custom", "description": "ref" } },
"margin": { "type": { "name": "enum", "description": "'dense'<br>| 'none'" } },
"maxRows": { "type": { "name": "union", "description": "number<br>| string" } },
"minRows": { "type": { "name": "union", "description": "number<br>| string" } },
"multiline": { "type": { "name": "bool" }, "default": "false" },
"name": { "type": { "name": "string" } },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => void",
"describedArgs": ["event"]
}
},
"placeholder": { "type": { "name": "string" } },
"readOnly": { "type": { "name": "bool" } },
"required": { "type": { "name": "bool" } },
"rows": { "type": { "name": "union", "description": "number<br>| string" } },
"slotProps": {
"type": { "name": "shape", "description": "{ input?: object, root?: object }" },
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ input?: elementType, root?: elementType }" },
"default": "{}"
},
"startAdornment": { "type": { "name": "node" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"type": { "type": { "name": "string" }, "default": "'text'" },
"value": { "type": { "name": "any" } }
},
"name": "FilledInput",
"imports": [
"import FilledInput from '@mui/material/FilledInput';",
"import { FilledInput } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"colorSecondary",
"underline",
"focused",
"disabled",
"adornedStart",
"adornedEnd",
"error",
"sizeSmall",
"multiline",
"hiddenLabel",
"input",
"inputSizeSmall",
"inputHiddenLabel",
"inputMultiline",
"inputAdornedStart",
"inputAdornedEnd",
"inputTypeSearch"
],
"globalClasses": { "focused": "Mui-focused", "disabled": "Mui-disabled", "error": "Mui-error" },
"name": "MuiFilledInput"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFilledInput",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/FilledInput/FilledInput.js",
"inheritance": { "component": "InputBase", "pathname": "/material-ui/api/input-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-text-field/\">Text Field</a></li></ul>",
"cssComponent": false
}
| 4,667 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-control-label.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './form-control-label.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/form-control-label',
false,
/form-control-label.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,668 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-control-label.json | {
"props": {
"control": { "type": { "name": "element" }, "required": true },
"checked": { "type": { "name": "bool" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"componentsProps": {
"type": { "name": "shape", "description": "{ typography?: object }" },
"default": "{}"
},
"disabled": { "type": { "name": "bool" } },
"disableTypography": { "type": { "name": "bool" } },
"inputRef": { "type": { "name": "custom", "description": "ref" } },
"label": { "type": { "name": "node" } },
"labelPlacement": {
"type": {
"name": "enum",
"description": "'bottom'<br>| 'end'<br>| 'start'<br>| 'top'"
},
"default": "'end'"
},
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.SyntheticEvent) => void",
"describedArgs": ["event"]
}
},
"required": { "type": { "name": "bool" } },
"slotProps": {
"type": { "name": "shape", "description": "{ typography?: object }" },
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"value": { "type": { "name": "any" } }
},
"name": "FormControlLabel",
"imports": [
"import FormControlLabel from '@mui/material/FormControlLabel';",
"import { FormControlLabel } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"labelPlacementStart",
"labelPlacementTop",
"labelPlacementBottom",
"disabled",
"label",
"error",
"required",
"asterisk"
],
"globalClasses": {
"disabled": "Mui-disabled",
"error": "Mui-error",
"required": "Mui-required"
},
"name": "MuiFormControlLabel"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormControlLabel",
"forwardsRefTo": "HTMLLabelElement",
"filename": "/packages/mui-material/src/FormControlLabel/FormControlLabel.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-radio-button/\">Radio Group</a></li>\n<li><a href=\"/material-ui/react-switch/\">Switch</a></li></ul>",
"cssComponent": false
}
| 4,669 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-control.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './form-control.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/form-control',
false,
/form-control.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,670 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-control.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'primary'"
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" }, "default": "false" },
"error": { "type": { "name": "bool" }, "default": "false" },
"focused": { "type": { "name": "bool" } },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"hiddenLabel": { "type": { "name": "bool" }, "default": "false" },
"margin": {
"type": {
"name": "enum",
"description": "'dense'<br>| 'none'<br>| 'normal'"
},
"default": "'none'"
},
"required": { "type": { "name": "bool" }, "default": "false" },
"size": {
"type": {
"name": "union",
"description": "'medium'<br>| 'small'<br>| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "enum",
"description": "'filled'<br>| 'outlined'<br>| 'standard'"
},
"default": "'outlined'"
}
},
"name": "FormControl",
"imports": [
"import FormControl from '@mui/material/FormControl';",
"import { FormControl } from '@mui/material';"
],
"styles": {
"classes": ["root", "marginNormal", "marginDense", "fullWidth"],
"globalClasses": {},
"name": "MuiFormControl"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormControl",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/FormControl/FormControl.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-radio-button/\">Radio Group</a></li>\n<li><a href=\"/material-ui/react-switch/\">Switch</a></li>\n<li><a href=\"/material-ui/react-text-field/\">Text Field</a></li></ul>",
"cssComponent": false
}
| 4,671 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-group.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './form-group.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/form-group', false, /form-group.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,672 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-group.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"row": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "FormGroup",
"imports": [
"import FormGroup from '@mui/material/FormGroup';",
"import { FormGroup } from '@mui/material';"
],
"styles": {
"classes": ["root", "row", "error"],
"globalClasses": { "error": "Mui-error" },
"name": "MuiFormGroup"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormGroup",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/FormGroup/FormGroup.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-switch/\">Switch</a></li></ul>",
"cssComponent": false
}
| 4,673 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-helper-text.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './form-helper-text.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/form-helper-text',
false,
/form-helper-text.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,674 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-helper-text.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" } },
"error": { "type": { "name": "bool" } },
"filled": { "type": { "name": "bool" } },
"focused": { "type": { "name": "bool" } },
"margin": { "type": { "name": "enum", "description": "'dense'" } },
"required": { "type": { "name": "bool" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'filled'<br>| 'outlined'<br>| 'standard'<br>| string"
}
}
},
"name": "FormHelperText",
"imports": [
"import FormHelperText from '@mui/material/FormHelperText';",
"import { FormHelperText } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"error",
"disabled",
"sizeSmall",
"contained",
"focused",
"filled",
"required"
],
"globalClasses": {
"error": "Mui-error",
"disabled": "Mui-disabled",
"focused": "Mui-focused",
"required": "Mui-required"
},
"name": "MuiFormHelperText"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormHelperText",
"forwardsRefTo": "HTMLParagraphElement",
"filename": "/packages/mui-material/src/FormHelperText/FormHelperText.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-text-field/\">Text Field</a></li></ul>",
"cssComponent": false
}
| 4,675 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-label.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './form-label.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/form-label', false, /form-label.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,676 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/form-label.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'error'<br>| 'info'<br>| 'primary'<br>| 'secondary'<br>| 'success'<br>| 'warning'<br>| string"
}
},
"component": { "type": { "name": "elementType" } },
"disabled": { "type": { "name": "bool" } },
"error": { "type": { "name": "bool" } },
"filled": { "type": { "name": "bool" } },
"focused": { "type": { "name": "bool" } },
"required": { "type": { "name": "bool" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "FormLabel",
"imports": [
"import FormLabel from '@mui/material/FormLabel';",
"import { FormLabel } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"colorSecondary",
"focused",
"disabled",
"error",
"filled",
"required",
"asterisk"
],
"globalClasses": {
"focused": "Mui-focused",
"disabled": "Mui-disabled",
"error": "Mui-error",
"required": "Mui-required"
},
"name": "MuiFormLabel"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiFormLabel",
"forwardsRefTo": "HTMLLabelElement",
"filename": "/packages/mui-material/src/FormLabel/FormLabel.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-checkbox/\">Checkbox</a></li>\n<li><a href=\"/material-ui/react-radio-button/\">Radio Group</a></li>\n<li><a href=\"/material-ui/react-switch/\">Switch</a></li></ul>",
"cssComponent": false
}
| 4,677 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/global-styles.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './global-styles.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/global-styles',
false,
/global-styles.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,678 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/global-styles.json | {
"props": {
"styles": {
"type": {
"name": "union",
"description": "array<br>| func<br>| number<br>| object<br>| string<br>| bool"
}
}
},
"name": "GlobalStyles",
"imports": [
"import GlobalStyles from '@mui/material/GlobalStyles';",
"import { GlobalStyles } from '@mui/material';"
],
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"themeDefaultProps": null,
"muiName": "MuiGlobalStyles",
"filename": "/packages/mui-material/src/GlobalStyles/GlobalStyles.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/customization/how-to-customize/\">How to customize</a></li></ul>",
"cssComponent": false
}
| 4,679 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/grid.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './grid.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/grid', false, /grid.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,680 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/grid.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"columns": {
"type": {
"name": "union",
"description": "Array<number><br>| number<br>| object"
},
"default": "12"
},
"columnSpacing": {
"type": {
"name": "union",
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
}
},
"component": { "type": { "name": "elementType" } },
"container": { "type": { "name": "bool" }, "default": "false" },
"direction": {
"type": {
"name": "union",
"description": "'column-reverse'<br>| 'column'<br>| 'row-reverse'<br>| 'row'<br>| Array<'column-reverse'<br>| 'column'<br>| 'row-reverse'<br>| 'row'><br>| object"
},
"default": "'row'"
},
"item": { "type": { "name": "bool" }, "default": "false" },
"lg": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| bool"
},
"default": "false"
},
"md": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| bool"
},
"default": "false"
},
"rowSpacing": {
"type": {
"name": "union",
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
}
},
"sm": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| bool"
},
"default": "false"
},
"spacing": {
"type": {
"name": "union",
"description": "Array<number<br>| string><br>| number<br>| object<br>| string"
},
"default": "0"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"wrap": {
"type": {
"name": "enum",
"description": "'nowrap'<br>| 'wrap-reverse'<br>| 'wrap'"
},
"default": "'wrap'"
},
"xl": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| bool"
},
"default": "false"
},
"xs": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| bool"
},
"default": "false"
},
"zeroMinWidth": { "type": { "name": "bool" }, "default": "false" }
},
"name": "Grid",
"imports": ["import Grid from '@mui/material/Grid';", "import { Grid } from '@mui/material';"],
"styles": {
"classes": [
"root",
"container",
"item",
"zeroMinWidth",
"direction-xs-column",
"direction-xs-column-reverse",
"direction-xs-row-reverse",
"wrap-xs-nowrap",
"wrap-xs-wrap-reverse",
"spacing-xs-1",
"spacing-xs-2",
"spacing-xs-3",
"spacing-xs-4",
"spacing-xs-5",
"spacing-xs-6",
"spacing-xs-7",
"spacing-xs-8",
"spacing-xs-9",
"spacing-xs-10",
"grid-xs-auto",
"grid-xs-true",
"grid-xs-1",
"grid-xs-2",
"grid-xs-3",
"grid-xs-4",
"grid-xs-5",
"grid-xs-6",
"grid-xs-7",
"grid-xs-8",
"grid-xs-9",
"grid-xs-10",
"grid-xs-11",
"grid-xs-12"
],
"globalClasses": {},
"name": "MuiGrid"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiGrid",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Grid/Grid.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-grid/\">Grid</a></li></ul>",
"cssComponent": true
}
| 4,681 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/grow.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './grow.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/grow', false, /grow.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,682 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/grow.json | {
"props": {
"children": { "type": { "name": "custom", "description": "element" }, "required": true },
"addEndListener": { "type": { "name": "func" } },
"appear": { "type": { "name": "bool" }, "default": "true" },
"easing": {
"type": {
"name": "union",
"description": "{ enter?: string, exit?: string }<br>| string"
}
},
"in": { "type": { "name": "bool" } },
"timeout": {
"type": {
"name": "union",
"description": "'auto'<br>| number<br>| { appear?: number, enter?: number, exit?: number }"
},
"default": "'auto'"
}
},
"name": "Grow",
"imports": ["import Grow from '@mui/material/Grow';", "import { Grow } from '@mui/material';"],
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"themeDefaultProps": false,
"muiName": "MuiGrow",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/Grow/Grow.js",
"inheritance": {
"component": "Transition",
"pathname": "http://reactcommunity.org/react-transition-group/transition/#Transition-props"
},
"demos": "<ul><li><a href=\"/material-ui/react-popover/\">Popover</a></li>\n<li><a href=\"/material-ui/transitions/\">Transitions</a></li></ul>",
"cssComponent": false
}
| 4,683 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/hidden.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './hidden.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/hidden', false, /hidden.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,684 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/hidden.json | {
"props": {
"children": { "type": { "name": "node" } },
"implementation": {
"type": { "name": "enum", "description": "'css'<br>| 'js'" },
"default": "'js'"
},
"initialWidth": {
"type": {
"name": "enum",
"description": "'xs'<br>| 'sm'<br>| 'md'<br>| 'lg'<br>| 'xl'"
}
},
"lgDown": { "type": { "name": "bool" }, "default": "false" },
"lgUp": { "type": { "name": "bool" }, "default": "false" },
"mdDown": { "type": { "name": "bool" }, "default": "false" },
"mdUp": { "type": { "name": "bool" }, "default": "false" },
"only": {
"type": {
"name": "union",
"description": "'xs'<br>| 'sm'<br>| 'md'<br>| 'lg'<br>| 'xl'<br>| Array<'xs'<br>| 'sm'<br>| 'md'<br>| 'lg'<br>| 'xl'>"
}
},
"smDown": { "type": { "name": "bool" }, "default": "false" },
"smUp": { "type": { "name": "bool" }, "default": "false" },
"xlDown": { "type": { "name": "bool" }, "default": "false" },
"xlUp": { "type": { "name": "bool" }, "default": "false" },
"xsDown": { "type": { "name": "bool" }, "default": "false" },
"xsUp": { "type": { "name": "bool" }, "default": "false" }
},
"name": "Hidden",
"imports": [
"import Hidden from '@mui/material/Hidden';",
"import { Hidden } from '@mui/material';"
],
"styles": { "classes": [], "globalClasses": {}, "name": null },
"spread": true,
"themeDefaultProps": null,
"muiName": "MuiHidden",
"filename": "/packages/mui-material/src/Hidden/Hidden.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-hidden/\">Hidden</a></li></ul>",
"cssComponent": false
}
| 4,685 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/icon-button.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './icon-button.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/icon-button',
false,
/icon-button.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,686 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/icon-button.json | {
"props": {
"children": { "type": { "name": "custom", "description": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'default'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'default'"
},
"disabled": { "type": { "name": "bool" }, "default": "false" },
"disableFocusRipple": { "type": { "name": "bool" }, "default": "false" },
"disableRipple": { "type": { "name": "bool" }, "default": "false" },
"edge": {
"type": {
"name": "enum",
"description": "'end'<br>| 'start'<br>| false"
},
"default": "false"
},
"size": {
"type": {
"name": "union",
"description": "'small'<br>| 'medium'<br>| 'large'<br>| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "IconButton",
"imports": [
"import IconButton from '@mui/material/IconButton';",
"import { IconButton } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"edgeStart",
"edgeEnd",
"colorInherit",
"colorPrimary",
"colorSecondary",
"colorError",
"colorInfo",
"colorSuccess",
"colorWarning",
"disabled",
"sizeSmall",
"sizeMedium",
"sizeLarge"
],
"globalClasses": { "disabled": "Mui-disabled" },
"name": "MuiIconButton"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiIconButton",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/IconButton/IconButton.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-button/\">Button</a></li></ul>",
"cssComponent": false
}
| 4,687 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/icon.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './icon.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/icon', false, /icon.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,688 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/icon.json | {
"props": {
"baseClassName": { "type": { "name": "string" }, "default": "'material-icons'" },
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'action'<br>| 'disabled'<br>| 'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
},
"default": "'inherit'"
},
"component": { "type": { "name": "elementType" } },
"fontSize": {
"type": {
"name": "union",
"description": "'inherit'<br>| 'large'<br>| 'medium'<br>| 'small'<br>| string"
},
"default": "'medium'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "Icon",
"imports": ["import Icon from '@mui/material/Icon';", "import { Icon } from '@mui/material';"],
"styles": {
"classes": [
"root",
"colorPrimary",
"colorSecondary",
"colorAction",
"colorError",
"colorDisabled",
"fontSizeInherit",
"fontSizeSmall",
"fontSizeLarge"
],
"globalClasses": {},
"name": "MuiIcon"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiIcon",
"forwardsRefTo": "HTMLSpanElement",
"filename": "/packages/mui-material/src/Icon/Icon.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/icons/\">Icons</a></li>\n<li><a href=\"/material-ui/material-icons/\">Material Icons</a></li></ul>",
"cssComponent": false
}
| 4,689 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list-item-bar.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './image-list-item-bar.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/image-list-item-bar',
false,
/image-list-item-bar.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,690 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list-item-bar.json | {
"props": {
"actionIcon": { "type": { "name": "node" } },
"actionPosition": {
"type": { "name": "enum", "description": "'left'<br>| 'right'" },
"default": "'right'"
},
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"position": {
"type": {
"name": "enum",
"description": "'below'<br>| 'bottom'<br>| 'top'"
},
"default": "'bottom'"
},
"subtitle": { "type": { "name": "node" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"title": { "type": { "name": "node" } }
},
"name": "ImageListItemBar",
"imports": [
"import ImageListItemBar from '@mui/material/ImageListItemBar';",
"import { ImageListItemBar } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"positionBottom",
"positionTop",
"positionBelow",
"titleWrap",
"titleWrapBelow",
"titleWrapActionPosLeft",
"titleWrapActionPosRight",
"title",
"subtitle",
"actionIcon",
"actionIconActionPosLeft"
],
"globalClasses": {},
"name": "MuiImageListItemBar"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiImageListItemBar",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/ImageListItemBar/ImageListItemBar.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-image-list/\">Image List</a></li></ul>",
"cssComponent": false
}
| 4,691 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list-item.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './image-list-item.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/image-list-item',
false,
/image-list-item.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,692 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list-item.json | {
"props": {
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"cols": { "type": { "name": "custom", "description": "integer" }, "default": "1" },
"component": { "type": { "name": "elementType" } },
"rows": { "type": { "name": "custom", "description": "integer" }, "default": "1" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
}
},
"name": "ImageListItem",
"imports": [
"import ImageListItem from '@mui/material/ImageListItem';",
"import { ImageListItem } from '@mui/material';"
],
"styles": {
"classes": ["root", "img", "standard", "woven", "masonry", "quilted"],
"globalClasses": {},
"name": "MuiImageListItem"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiImageListItem",
"forwardsRefTo": "HTMLLIElement",
"filename": "/packages/mui-material/src/ImageListItem/ImageListItem.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-image-list/\">Image List</a></li></ul>",
"cssComponent": false
}
| 4,693 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './image-list.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/image-list', false, /image-list.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,694 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/image-list.json | {
"props": {
"children": { "type": { "name": "node" }, "required": true },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"cols": { "type": { "name": "custom", "description": "integer" }, "default": "2" },
"component": { "type": { "name": "elementType" } },
"gap": { "type": { "name": "number" }, "default": "4" },
"rowHeight": {
"type": { "name": "union", "description": "'auto'<br>| number" },
"default": "'auto'"
},
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "union",
"description": "'masonry'<br>| 'quilted'<br>| 'standard'<br>| 'woven'<br>| string"
},
"default": "'standard'"
}
},
"name": "ImageList",
"imports": [
"import ImageList from '@mui/material/ImageList';",
"import { ImageList } from '@mui/material';"
],
"styles": {
"classes": ["root", "masonry", "quilted", "standard", "woven"],
"globalClasses": {},
"name": "MuiImageList"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiImageList",
"forwardsRefTo": "HTMLUListElement",
"filename": "/packages/mui-material/src/ImageList/ImageList.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-image-list/\">Image List</a></li></ul>",
"cssComponent": false
}
| 4,695 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/input-adornment.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './input-adornment.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context(
'docs/translations/api-docs/input-adornment',
false,
/input-adornment.*.json$/,
);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,696 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/input-adornment.json | {
"props": {
"position": {
"type": { "name": "enum", "description": "'end'<br>| 'start'" },
"required": true
},
"children": { "type": { "name": "node" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"component": { "type": { "name": "elementType" } },
"disablePointerEvents": { "type": { "name": "bool" }, "default": "false" },
"disableTypography": { "type": { "name": "bool" }, "default": "false" },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"variant": {
"type": {
"name": "enum",
"description": "'filled'<br>| 'outlined'<br>| 'standard'"
}
}
},
"name": "InputAdornment",
"imports": [
"import InputAdornment from '@mui/material/InputAdornment';",
"import { InputAdornment } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"filled",
"outlined",
"standard",
"positionStart",
"positionEnd",
"disablePointerEvents",
"hiddenLabel",
"sizeSmall"
],
"globalClasses": {},
"name": "MuiInputAdornment"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiInputAdornment",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/InputAdornment/InputAdornment.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-text-field/\">Text Field</a></li></ul>",
"cssComponent": false
}
| 4,697 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/input-base.js | import * as React from 'react';
import ApiPage from 'docs/src/modules/components/ApiPage';
import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations';
import jsonPageContent from './input-base.json';
export default function Page(props) {
const { descriptions, pageContent } = props;
return <ApiPage descriptions={descriptions} pageContent={pageContent} />;
}
Page.getInitialProps = () => {
const req = require.context('docs/translations/api-docs/input-base', false, /input-base.*.json$/);
const descriptions = mapApiPageTranslations(req);
return {
descriptions,
pageContent: jsonPageContent,
};
};
| 4,698 |
0 | petrpan-code/mui/material-ui/docs/pages/material-ui | petrpan-code/mui/material-ui/docs/pages/material-ui/api/input-base.json | {
"props": {
"autoComplete": { "type": { "name": "string" } },
"autoFocus": { "type": { "name": "bool" } },
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'<br>| 'secondary'<br>| 'error'<br>| 'info'<br>| 'success'<br>| 'warning'<br>| string"
}
},
"components": {
"type": { "name": "shape", "description": "{ Input?: elementType, Root?: elementType }" },
"default": "{}"
},
"componentsProps": {
"type": { "name": "shape", "description": "{ input?: object, root?: object }" },
"default": "{}"
},
"defaultValue": { "type": { "name": "any" } },
"disabled": { "type": { "name": "bool" } },
"disableInjectingGlobalStyles": { "type": { "name": "bool" }, "default": "false" },
"endAdornment": { "type": { "name": "node" } },
"error": { "type": { "name": "bool" } },
"fullWidth": { "type": { "name": "bool" }, "default": "false" },
"id": { "type": { "name": "string" } },
"inputComponent": {
"type": { "name": "custom", "description": "element type" },
"default": "'input'"
},
"inputProps": { "type": { "name": "object" }, "default": "{}" },
"inputRef": { "type": { "name": "custom", "description": "ref" } },
"margin": { "type": { "name": "enum", "description": "'dense'<br>| 'none'" } },
"maxRows": { "type": { "name": "union", "description": "number<br>| string" } },
"minRows": { "type": { "name": "union", "description": "number<br>| string" } },
"multiline": { "type": { "name": "bool" }, "default": "false" },
"name": { "type": { "name": "string" } },
"onBlur": { "type": { "name": "func" } },
"onChange": {
"type": { "name": "func" },
"signature": {
"type": "function(event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => void",
"describedArgs": ["event"]
}
},
"onInvalid": { "type": { "name": "func" } },
"placeholder": { "type": { "name": "string" } },
"readOnly": { "type": { "name": "bool" } },
"required": { "type": { "name": "bool" } },
"rows": { "type": { "name": "union", "description": "number<br>| string" } },
"size": {
"type": {
"name": "union",
"description": "'medium'<br>| 'small'<br>| string"
}
},
"slotProps": {
"type": { "name": "shape", "description": "{ input?: object, root?: object }" },
"default": "{}"
},
"slots": {
"type": { "name": "shape", "description": "{ input?: elementType, root?: elementType }" },
"default": "{}"
},
"startAdornment": { "type": { "name": "node" } },
"sx": {
"type": {
"name": "union",
"description": "Array<func<br>| object<br>| bool><br>| func<br>| object"
},
"additionalInfo": { "sx": true }
},
"type": { "type": { "name": "string" }, "default": "'text'" },
"value": { "type": { "name": "any" } }
},
"name": "InputBase",
"imports": [
"import InputBase from '@mui/material/InputBase';",
"import { InputBase } from '@mui/material';"
],
"styles": {
"classes": [
"root",
"formControl",
"focused",
"disabled",
"adornedStart",
"adornedEnd",
"error",
"sizeSmall",
"multiline",
"colorSecondary",
"fullWidth",
"hiddenLabel",
"readOnly",
"input",
"inputSizeSmall",
"inputMultiline",
"inputTypeSearch",
"inputAdornedStart",
"inputAdornedEnd",
"inputHiddenLabel"
],
"globalClasses": {
"focused": "Mui-focused",
"disabled": "Mui-disabled",
"error": "Mui-error",
"readOnly": "Mui-readOnly"
},
"name": "MuiInputBase"
},
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiInputBase",
"forwardsRefTo": "HTMLDivElement",
"filename": "/packages/mui-material/src/InputBase/InputBase.js",
"inheritance": null,
"demos": "<ul><li><a href=\"/material-ui/react-text-field/\">Text Field</a></li></ul>",
"cssComponent": false
}
| 4,699 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.