Skip to content

Commit

Permalink
Update README.md (#584)
Browse files Browse the repository at this point in the history
* Update README.md

Missing " on Features list,
Extra comma removed

* Update README.md

Added space for component uniformity.
  • Loading branch information
amirsaga authored and tannerlinsley committed Dec 12, 2017
1 parent 1e849df commit cf0f8bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -38,7 +38,7 @@
- Pivoting & Aggregation
- Minimal design & easily themeable
- Fully controllable via optional props and callbacks
- <a href="https://medium.com/@tannerlinsley/why-i-wrote-react-table-and-the-problems-it-has-solved-for-nozzle-others-445c4e93d4a8#.axza4ixba" target="\_parent">"Why I wrote React Table and the problems it has solved for Nozzle.io</a> by Tanner Linsley
- <a href="https://medium.com/@tannerlinsley/why-i-wrote-react-table-and-the-problems-it-has-solved-for-nozzle-others-445c4e93d4a8#.axza4ixba" target="\_parent">"Why I wrote React Table and the problems it has solved for Nozzle.io"</a> by Tanner Linsley

## [Demos and examples](http://react-table.js.org/#/story/simple-table)

Expand Down Expand Up @@ -343,7 +343,7 @@ Or just define them as props
```

## Columns
`<ReactTable/>` requires a `columns` prop, which is an array of objects containing the following properties
`<ReactTable />` requires a `columns` prop, which is an array of objects containing the following properties

```javascript
[{
Expand All @@ -358,7 +358,7 @@ Or just define them as props
Aggregated: JSX | String | Function // Used to render aggregated cells. Defaults to a comma separated list of values.
Pivot: JSX | String | Function | cellInfo => ( // Used to render a pivoted cell
<span>
<Expander/><PivotValue /> // By default, will utilize the the PivotValue and Expander components at run time
<Expander /><PivotValue /> // By default, will utilize the the PivotValue and Expander components at run time
</span>
),
PivotValue: JSX | String | Function // Used to render the value inside of a Pivot cell
Expand Down Expand Up @@ -480,7 +480,7 @@ If your data has a field/key with a dot (`.`) you will need to supply a custom a


## Column Header Groups
To group columns with another header column, just nest your columns in a header column. Header columns utilize the same header properties as regular columns.
To group columns with another header column, just nest your columns in a header column. Header columns utilize the same header properties as regular columns.
```javascript
const columns = [{
Header: 'Favorites',
Expand Down Expand Up @@ -930,7 +930,7 @@ If you would like to help develop a suggested feature follow these steps:
- Auto-build files as you edit with `$ yarn run watch`
- Implement your changes to files in the `src/` directory
- Run the <a href="https://github.com/tannerlinsley/react-story">React Story</a> locally with `$ yarn run docs`
- View changes as you edit `docs/src`,
- View changes as you edit `docs/src`
- Submit PR for review

#### Scripts
Expand Down

0 comments on commit cf0f8bb

Please sign in to comment.