diff --git a/README.md b/README.md index c2102c64..ae4971e4 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ yarn add react-split-pane ``` ## Example Usage -```html +```jsx
``` -```html +```jsx
@@ -51,7 +51,7 @@ You can also set the size of the pane using the `size` prop. Note that a size se In this example right pane keeps its width 200px while user is resizing browser window. -```html +```jsx
@@ -97,7 +97,7 @@ survive a refresh of your app. For example, if you are comfortable with the trade-offs of localStorage, you could do something like the following: -```html +```jsx localStorage.setItem('splitPos', size) }>