File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/graphiql-explorer Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ The Explorer accepts a `colors` prop as a map of the class names in GraphiQL's c
33
33
34
34
Example style map:
35
35
36
- ``` javascript
36
+ ``` jsx
37
37
< Explorer
38
38
colors= {{
39
39
keyword: ' #B11A04' ,
@@ -68,23 +68,23 @@ The defaults are
68
68
69
69
arrowOpen
70
70
71
- ``` javascript
71
+ ``` jsx
72
72
< svg width= " 12" height= " 9" >
73
73
< path fill= " #666" d= " M 0 2 L 9 2 L 4.5 7.5 z" / >
74
74
< / svg>
75
75
```
76
76
77
77
arrowClosed
78
78
79
- ``` javascript
79
+ ``` jsx
80
80
< svg width= " 12" height= " 9" >
81
81
< path fill= " #666" d= " M 0 0 L 0 9 L 5.5 4.5 z" / >
82
82
< / svg>
83
83
```
84
84
85
85
checkboxChecked
86
86
87
- ``` javascript
87
+ ``` jsx
88
88
< svg
89
89
style= {{ marginRight: ' 3px' , marginLeft: ' -3px' }}
90
90
width= " 12"
@@ -102,7 +102,7 @@ checkboxChecked
102
102
103
103
checkboxUnchecked
104
104
105
- ``` javascript
105
+ ``` jsx
106
106
< svg
107
107
style= {{ marginRight: ' 3px' , marginLeft: ' -3px' }}
108
108
width= " 12"
@@ -126,7 +126,7 @@ Pass the `styles` prop when you create the component. It's an object with two ke
126
126
127
127
Example styles map:
128
128
129
- ``` javascript
129
+ ``` jsx
130
130
< Explorer
131
131
styles= {{
132
132
buttonStyle: {
You can’t perform that action at this time.
0 commit comments