Skip to content

Commit

Permalink
Updating docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashanth Iyer committed Oct 24, 2016
1 parent c8afb96 commit ec23af0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ detect varies events like onYearChange, onRender, onSelect, onApply, onCancel, a
display: React.PropTypes.bool
```

##### position

`position` is a way to custom position the element (overrides the centering of calendar).

```
position: React.PropTypes.shape({
top: React.PropTypes.number,
left: React.PropTypes.number,
})
```


## Theming

react-monthrange-picker comes with a set of SCSS variables that can be overridden to add your own project-specific theming. react-monthrange-picker also exports the style with the package.json, so you can bundle the css with [parcelify](https://github.com/rotundasoftware/parcelify). Checkout the [example app](https://github.com/munichlinux/react-monthrange-picker-example)
Expand Down

0 comments on commit ec23af0

Please sign in to comment.