Skip to content

Commit 8244e43

Browse files
author
Trevor Burnham
committed
[Docs] Add syntax highlighting to example
1 parent 26f41c8 commit 8244e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-static-element-interactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In order to add interactivity such as a mouse or key event listener to a static
1212

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

15-
```
15+
```jsx
1616
<div
1717
onClick={onClickHandler}
1818
onKeyPress={onKeyPressHandler}

0 commit comments

Comments
 (0)