Skip to content

Commit 96a81be

Browse files
ADTCdiasbruno
authored andcommittedFeb 8, 2024
Comment the ellipsis in code blocks in docs/index.md
This is to ensure proper syntax highlighting in http://reactcommunity.org/react-modal/
1 parent aff8b91 commit 96a81be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ choose a different parent element by providing a function to the
186186

187187
```jsx
188188
<Modal
189-
...
189+
// ...
190190
parentSelector={() => document.querySelector('#root')}>
191191
<p>Modal Content.</p>
192192
</Modal>
@@ -202,7 +202,7 @@ You can use ref callbacks to get the overlay and content DOM nodes directly:
202202

203203
```jsx
204204
<Modal
205-
...
205+
// ...
206206
overlayRef={node => (this.overlayRef = node)}
207207
contentRef={node => (this.contentRef = node)}>
208208
<p>Modal Content.</p>

0 commit comments

Comments
 (0)
Please sign in to comment.