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.
tailchat/server/admin-old/app/ra/theme.ts

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,
},
};