Wire DSL-derived field labels, safe API error JSON (string|string[]), decimal/enum DTO fixes, and client dataProvider without comma-splitting. Add generation/templates/runtime as canonical source copied on generate; extend AID bundle, prompts, validation gate, and docs.
17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import { Notification, NotificationProps } from 'react-admin';
|
|
|
|
export const AppNotification = (props: NotificationProps) => (
|
|
<Notification
|
|
{...props}
|
|
sx={{
|
|
whiteSpace: 'pre-line',
|
|
'& .MuiAlert-message': {
|
|
whiteSpace: 'pre-line',
|
|
},
|
|
'& .MuiSnackbarContent-message': {
|
|
whiteSpace: 'pre-line',
|
|
},
|
|
}}
|
|
/>
|
|
);
|