Skip to content

Commit 5d2630e

Browse files
authored
Merge pull request #2 from ryanhefner/release/0.2.0
v0.2.0
2 parents d1f0ef5 + 082e96c commit 5d2630e

File tree

7 files changed

+6061
-30
lines changed

7 files changed

+6061
-30
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Ryan Hefner <hi@ryanhefner.com> (https://www.ryanhefner.com)
3+
Copyright (c) 2017 - 2018 Ryan Hefner <hi@ryanhefner.com> (https://www.ryanhefner.com)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ managing various ways that these components can exist.
2424

2525
### Properties
2626

27-
* `index:Number` - Index of the currently active child.
27+
* `component:Element | String` - React component or HTMLElemnt to render as wrapper for rotator. (Default: `div`)
28+
* `index:Number` - Index of the currently active child. (Default: `0`)
2829
* `onChange:Function` - Callback for when the index is changed internally, either
2930
via a child or indicator.
3031

@@ -123,4 +124,4 @@ import {DotsIndicator} from 'react-paging-indicators';
123124

124125
## License
125126

126-
[MIT](LICENSE)
127+
[MIT](LICENSE) © [Ryan Hefner](https://www.ryanhefner.com)

0 commit comments

Comments
 (0)