File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
MIT License
2
2
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)
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ managing various ways that these components can exist.
24
24
25
25
### Properties
26
26
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 ` )
28
29
* ` onChange:Function ` - Callback for when the index is changed internally, either
29
30
via a child or indicator.
30
31
@@ -123,4 +124,4 @@ import {DotsIndicator} from 'react-paging-indicators';
123
124
124
125
## License
125
126
126
- [ MIT] ( LICENSE )
127
+ [ MIT] ( LICENSE ) © [ Ryan Hefner ] ( https://www.ryanhefner.com )
You can’t perform that action at this time.
0 commit comments