Skip to content

Commit

Permalink
chore: add gh actions badge
Browse files Browse the repository at this point in the history
  • Loading branch information
wuweiweiwu committed Aug 10, 2020
1 parent 2ab168d commit 4e6f296
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
![NPM license](https://img.shields.io/npm/l/react-split-pane.svg?style=flat)
[![NPM total downloads](https://img.shields.io/npm/dt/react-split-pane.svg?style=flat)](https://npmcharts.com/compare/react-split-pane?minimal=true)
[![NPM monthly downloads](https://img.shields.io/npm/dm/react-split-pane.svg?style=flat)](https://npmcharts.com/compare/react-split-pane?minimal=true)
[![Build Status](https://img.shields.io/travis/tomkp/react-split-pane/master.svg?style=flat)](https://travis-ci.org/tomkp/react-split-pane)
![Build Test](https://github.com/tomkp/react-split-pane/workflows/Build%20Test/badge.svg)
[![Coverage Status](https://img.shields.io/coveralls/tomkp/react-split-pane/master.svg?style=flat)](https://coveralls.io/r/tomkp/react-split-pane)

Split-Pane React component, can be nested or split vertically or horizontally!

## Installing

```sh
````sh
npm install react-split-pane

# or if you use yarn
Expand All @@ -25,7 +25,7 @@ yarn add react-split-pane
<div />
<div />
</SplitPane>
```
````
```jsx
<SplitPane split="vertical" minSize={50}>
Expand Down Expand Up @@ -110,7 +110,7 @@ could do something like the following:
split="vertical"
minSize={50}
defaultSize={parseInt(localStorage.getItem('splitPos'), 10)}
onChange={size => localStorage.setItem('splitPos', size)}
onChange={(size) => localStorage.setItem('splitPos', size)}
>
<div />
<div />
Expand Down

0 comments on commit 4e6f296

Please sign in to comment.