Files
react-test/docs/pages/material-ui/api/pagination-item.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

237 lines
7.8 KiB
JSON
Raw Normal View History

2025-12-12 14:26:25 +09:00
{
"props": {
"classes": { "type": { "name": "object" }, "additionalInfo": { "cssApi": true } },
"color": {
"type": {
"name": "union",
"description": "'primary'<br>&#124;&nbsp;'secondary'<br>&#124;&nbsp;'standard'<br>&#124;&nbsp;string"
},
"default": "'standard'"
},
"component": { "type": { "name": "elementType" } },
"components": {
"type": {
"name": "shape",
"description": "{ first?: elementType, last?: elementType, next?: elementType, previous?: elementType }"
},
"default": "{}",
"deprecated": true,
"deprecationInfo": "use the <code>slots</code> prop instead. This prop will be removed in a future major release. See <a href=\"https://mui.com/material-ui/migration/migrating-from-deprecated-apis/\">Migrating from deprecated APIs</a> for more details."
},
"disabled": { "type": { "name": "bool" }, "default": "false" },
"page": { "type": { "name": "node" } },
"selected": { "type": { "name": "bool" }, "default": "false" },
"shape": {
"type": { "name": "enum", "description": "'circular'<br>&#124;&nbsp;'rounded'" },
"default": "'circular'"
},
"size": {
"type": {
"name": "union",
"description": "'small'<br>&#124;&nbsp;'medium'<br>&#124;&nbsp;'large'<br>&#124;&nbsp;string"
},
"default": "'medium'"
},
"slotProps": {
"type": {
"name": "shape",
"description": "{ first?: func<br>&#124;&nbsp;object, last?: func<br>&#124;&nbsp;object, next?: func<br>&#124;&nbsp;object, previous?: func<br>&#124;&nbsp;object }"
},
"default": "{}"
},
"slots": {
"type": {
"name": "shape",
"description": "{ first?: elementType, last?: elementType, next?: elementType, previous?: elementType }"
},
"default": "{}"
},
"sx": {
"type": {
"name": "union",
"description": "Array&lt;func<br>&#124;&nbsp;object<br>&#124;&nbsp;bool&gt;<br>&#124;&nbsp;func<br>&#124;&nbsp;object"
},
"additionalInfo": { "sx": true }
},
"type": {
"type": {
"name": "enum",
"description": "'end-ellipsis'<br>&#124;&nbsp;'first'<br>&#124;&nbsp;'last'<br>&#124;&nbsp;'next'<br>&#124;&nbsp;'page'<br>&#124;&nbsp;'previous'<br>&#124;&nbsp;'start-ellipsis'"
},
"default": "'page'"
},
"variant": {
"type": {
"name": "union",
"description": "'outlined'<br>&#124;&nbsp;'text'<br>&#124;&nbsp;string"
},
"default": "'text'"
}
},
"name": "PaginationItem",
"imports": [
"import PaginationItem from '@mui/material/PaginationItem';",
"import { PaginationItem } from '@mui/material';"
],
"slots": [
{
"name": "first",
"description": "The component that renders the first page slot.",
"default": "FirstPageIcon",
"class": null
},
{
"name": "last",
"description": "The component that renders the last page slot.",
"default": "LastPageIcon",
"class": null
},
{
"name": "next",
"description": "The component that renders the next page slot.",
"default": "NavigateNextIcon",
"class": null
},
{
"name": "previous",
"description": "The component that renders the previous page slot.",
"default": "NavigateBeforeIcon",
"class": null
}
],
"classes": [
{
"key": "colorPrimary",
"className": "MuiPaginationItem-colorPrimary",
"description": "Styles applied to the root element if `color=\"primary\"`.",
"isGlobal": false
},
{
"key": "colorSecondary",
"className": "MuiPaginationItem-colorSecondary",
"description": "Styles applied to the root element if `color=\"secondary\"`.",
"isGlobal": false
},
{
"key": "disabled",
"className": "Mui-disabled",
"description": "State class applied to the root element if `disabled={true}`.",
"isGlobal": true
},
{
"key": "ellipsis",
"className": "MuiPaginationItem-ellipsis",
"description": "Styles applied to the root element if `type=\"start-ellipsis\"` or `type=\"end-ellipsis\"`.",
"isGlobal": false
},
{
"key": "firstLast",
"className": "MuiPaginationItem-firstLast",
"description": "Styles applied to the root element if `type=\"first\"` or type=\"last\".",
"isGlobal": false
},
{
"key": "focusVisible",
"className": "Mui-focusVisible",
"description": "State class applied to the root element if keyboard focused.",
"isGlobal": true
},
{
"key": "icon",
"className": "MuiPaginationItem-icon",
"description": "Styles applied to the icon to display.",
"isGlobal": false
},
{
"key": "outlined",
"className": "MuiPaginationItem-outlined",
"description": "Styles applied to the root element if `variant=\"outlined\"`.",
"isGlobal": false
},
{
"key": "outlinedPrimary",
"className": "MuiPaginationItem-outlinedPrimary",
"description": "Styles applied to the root element if `variant=\"outlined\"` and `color=\"primary\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "outlinedSecondary",
"className": "MuiPaginationItem-outlinedSecondary",
"description": "Styles applied to the root element if `variant=\"outlined\"` and `color=\"secondary\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "page",
"className": "MuiPaginationItem-page",
"description": "Styles applied to the root element if `type=\"page\"`.",
"isGlobal": false
},
{
"key": "previousNext",
"className": "MuiPaginationItem-previousNext",
"description": "Styles applied to the root element if `type=\"previous\"` or type=\"next\".",
"isGlobal": false
},
{
"key": "root",
"className": "MuiPaginationItem-root",
"description": "Styles applied to the root element.",
"isGlobal": false
},
{
"key": "rounded",
"className": "MuiPaginationItem-rounded",
"description": "Styles applied to the root element if `rounded=\"true\"`.",
"isGlobal": false
},
{
"key": "selected",
"className": "Mui-selected",
"description": "State class applied to the root element if `selected={true}`.",
"isGlobal": true
},
{
"key": "sizeLarge",
"className": "MuiPaginationItem-sizeLarge",
"description": "Styles applied to the root element if `size=\"large\"`.",
"isGlobal": false
},
{
"key": "sizeSmall",
"className": "MuiPaginationItem-sizeSmall",
"description": "Styles applied to the root element if `size=\"small\"`.",
"isGlobal": false
},
{
"key": "text",
"className": "MuiPaginationItem-text",
"description": "Styles applied to the root element if `variant=\"text\"`.",
"isGlobal": false
},
{
"key": "textPrimary",
"className": "MuiPaginationItem-textPrimary",
"description": "Styles applied to the root element if `variant=\"text\"` and `color=\"primary\"`.",
"isGlobal": false,
"isDeprecated": true
},
{
"key": "textSecondary",
"className": "MuiPaginationItem-textSecondary",
"description": "Styles applied to the root element if `variant=\"text\"` and `color=\"secondary\"`.",
"isGlobal": false,
"isDeprecated": true
}
],
"spread": true,
"themeDefaultProps": true,
"muiName": "MuiPaginationItem",
"forwardsRefTo": "HTMLButtonElement",
"filename": "/packages/mui-material/src/PaginationItem/PaginationItem.js",
"inheritance": { "component": "ButtonBase", "pathname": "/material-ui/api/button-base/" },
"demos": "<ul><li><a href=\"/material-ui/react-pagination/\">Pagination</a></li></ul>",
"cssComponent": false
}