mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
422 B
TypeScript
23 lines
422 B
TypeScript
import { defaultTheme } from 'react-admin';
|
|
import type { ThemeOptions } from '@mui/material';
|
|
|
|
const customRaComponents = {
|
|
RaDatagrid: {
|
|
styleOverrides: {
|
|
root: {
|
|
'& .RaDatagrid-headerCell': {
|
|
whiteSpace: 'nowrap',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export const theme: ThemeOptions = {
|
|
...defaultTheme,
|
|
components: {
|
|
...defaultTheme.components,
|
|
...customRaComponents,
|
|
},
|
|
};
|