File tree Expand file tree Collapse file tree
packages/ra-ui-materialui/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,7 +190,10 @@ export const DateInput = (props: DateInputProps) => {
190190
191191 const mergedSlotProps = {
192192 ...rest . slotProps ,
193- inputLabel : { ...defaultInputLabelProps , ...rest . slotProps ?. inputLabel } ,
193+ inputLabel : {
194+ ...defaultInputLabelProps ,
195+ ...rest . slotProps ?. inputLabel ,
196+ } ,
194197 } ;
195198
196199 return (
Original file line number Diff line number Diff line change @@ -149,7 +149,10 @@ export const DateTimeInput = (props: DateTimeInputProps) => {
149149
150150 const mergedSlotProps = {
151151 ...rest . slotProps ,
152- inputLabel : { ...defaultInputLabelProps , ...rest . slotProps ?. inputLabel } ,
152+ inputLabel : {
153+ ...defaultInputLabelProps ,
154+ ...rest . slotProps ?. inputLabel ,
155+ } ,
153156 } ;
154157
155158 return (
Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ export const TimeInput = (props: TimeInputProps) => {
9191
9292 const mergedSlotProps = {
9393 ...rest . slotProps ,
94- inputLabel : { ...defaultInputLabelProps , ...rest . slotProps ?. inputLabel } ,
94+ inputLabel : {
95+ ...defaultInputLabelProps ,
96+ ...rest . slotProps ?. inputLabel ,
97+ } ,
9598 } ;
9699
97100 return (
Original file line number Diff line number Diff line change @@ -135,13 +135,9 @@ export const Notification = (inProps: NotificationProps) => {
135135
136136 const transitionProps = { onExited : handleExited } ;
137137 const contentProps = {
138- className : clsx (
139- NotificationClasses [ typeFromMessage || type ] ,
140- {
141- [ NotificationClasses . multiLine ] :
142- multilineFromMessage || multiLine ,
143- }
144- ) ,
138+ className : clsx ( NotificationClasses [ typeFromMessage || type ] , {
139+ [ NotificationClasses . multiLine ] : multilineFromMessage || multiLine ,
140+ } ) ,
145141 } ;
146142
147143 const mergedSlotProps = {
Original file line number Diff line number Diff line change @@ -39,9 +39,12 @@ export const Empty = (inProps: EmptyProps) => {
3939 < Root className = { className } >
4040 < div className = { EmptyClasses . message } >
4141 < Inbox className = { EmptyClasses . icon } />
42- < Typography variant = "h4" sx = { {
43- marginBottom : "16px"
44- } } >
42+ < Typography
43+ variant = "h4"
44+ sx = { {
45+ marginBottom : '16px' ,
46+ } }
47+ >
4548 { translate ( `resources.${ resource } .empty` , {
4649 _ : emptyMessage ,
4750 } ) }
Original file line number Diff line number Diff line change @@ -169,9 +169,12 @@ const ListGuesserEmpty = (inProps: ListGuesserEmptyProps) => {
169169 < ListGuesserEmptyRoot className = { className } >
170170 < Box className = { ListGuesserEmptyClasses . message } >
171171 < Inbox className = { ListGuesserEmptyClasses . icon } />
172- < Typography variant = "h4" sx = { {
173- marginBottom : "16px"
174- } } >
172+ < Typography
173+ variant = "h4"
174+ sx = { {
175+ marginBottom : '16px' ,
176+ } }
177+ >
175178 { translate ( 'ra.guesser.empty.title' , {
176179 _ : 'No data to display' ,
177180 } ) }
You can’t perform that action at this time.
0 commit comments