File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- import { width } from '@mui/system' ;
1
+ import { color , width } from '@mui/system' ;
2
2
import React , { useState } from 'react' ;
3
3
import { ProvConContainerProps } from '../FrontendTypes' ;
4
4
@@ -118,17 +118,20 @@ const ProvConContainer = (props: ProvConContainerProps): JSX.Element => {
118
118
cursor : "pointer" ,
119
119
fontWeight : "bold" ,
120
120
textDecoration : "underline" ,
121
- color : isExpanded ? "green " : "blue " ,
121
+ color : isExpanded ? "#1f2937 " : "#059669 " ,
122
122
} }
123
123
>
124
124
{ node . name }
125
125
</ p >
126
126
127
127
{ /* Render HookState if it exists */ }
128
128
{ isExpanded && node . componentData ?. hooksState && (
129
+ < div >
130
+ { /* <h1 style={{fontWeight: "bold"}}>State:</h1> */ }
129
131
< p style = { { whiteSpace : "normal" , overflowWrap : "break-word" , padding : "20px" } } >
130
132
State: { JSON . stringify ( node . componentData . hooksState ) }
131
133
</ p >
134
+ </ div >
132
135
) }
133
136
134
137
{ /* Render Context Property if it exists */ }
@@ -155,7 +158,7 @@ const ProvConContainer = (props: ProvConContainerProps): JSX.Element => {
155
158
156
159
157
160
return (
158
- < div style = { { width : "300px" } } >
161
+ < div style = { { width : "260px" } } >
159
162
{ renderNestedObject ( contextProvidersOnly ) }
160
163
</ div >
161
164
) ;
You can’t perform that action at this time.
0 commit comments