Skip to content

Commit f8cfaf0

Browse files
committed
switch from javascript to jsx markdown blocks to make eslint happy
1 parent 98f50f4 commit f8cfaf0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/graphiql-explorer/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The Explorer accepts a `colors` prop as a map of the class names in GraphiQL's c
3333

3434
Example style map:
3535

36-
```javascript
36+
```jsx
3737
<Explorer
3838
colors={{
3939
keyword: '#B11A04',
@@ -68,23 +68,23 @@ The defaults are
6868

6969
arrowOpen
7070

71-
```javascript
71+
```jsx
7272
<svg width="12" height="9">
7373
<path fill="#666" d="M 0 2 L 9 2 L 4.5 7.5 z" />
7474
</svg>
7575
```
7676

7777
arrowClosed
7878

79-
```javascript
79+
```jsx
8080
<svg width="12" height="9">
8181
<path fill="#666" d="M 0 0 L 0 9 L 5.5 4.5 z" />
8282
</svg>
8383
```
8484

8585
checkboxChecked
8686

87-
```javascript
87+
```jsx
8888
<svg
8989
style={{ marginRight: '3px', marginLeft: '-3px' }}
9090
width="12"
@@ -102,7 +102,7 @@ checkboxChecked
102102

103103
checkboxUnchecked
104104

105-
```javascript
105+
```jsx
106106
<svg
107107
style={{ marginRight: '3px', marginLeft: '-3px' }}
108108
width="12"
@@ -126,7 +126,7 @@ Pass the `styles` prop when you create the component. It's an object with two ke
126126

127127
Example styles map:
128128

129-
```javascript
129+
```jsx
130130
<Explorer
131131
styles={{
132132
buttonStyle: {

0 commit comments

Comments
 (0)