Skip to content

Commit

Permalink
[Docs] Add syntax highlighting to example
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Burnham committed Jan 10, 2019
1 parent 26f41c8 commit 8244e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-static-element-interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In order to add interactivity such as a mouse or key event listener to a static

Indicate the element's role with the `role` attribute:

```
```jsx
<div
onClick={onClickHandler}
onKeyPress={onKeyPressHandler}
Expand Down

0 comments on commit 8244e43

Please sign in to comment.