@teravn/onui
Version:
The React UI component library is based on MUI
74 lines (73 loc) • 2.28 kB
TypeScript
import { OwnerStateThemeType } from '.';
declare const Pagination: () => {
MuiPaginationItem: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
border: string;
borderRadius: number;
borderWidth: string;
color: string;
fontWeight: number;
margin: number;
'&.Mui-selected': {
backgroundColor: string;
color: string;
'&:hover': {
backgroundColor: string;
color: string;
};
};
'&:hover': {
backgroundColor: string;
color: string;
};
};
ellipsis: () => {
height: number;
paddingTop: number;
};
};
};
MuiPagination: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
minWidth: string;
};
ul: ({ theme }: OwnerStateThemeType) => {
'& li:not(:first-of-type):not(:last-child)': {
borderRight: string;
};
'& li:last-child': {
'& .MuiPaginationItem-root': {
borderRight: string;
borderRadius: string;
};
};
'& li:first-of-type': {
'& .MuiPaginationItem-root': {
border: string;
borderWidth: string;
borderRadius: string;
};
};
};
};
};
MuiTablePagination: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
height: string;
width: string;
color: string;
'& .MuiToolbar-root': {
width: string;
columnGap: string;
'> *': {
margin: number;
};
};
};
};
};
};
export default Pagination;