Skip to content

Commit 21e009f

Browse files
committed
bugfix: deprecated proptype on Tabs.Panel
1 parent a43a83f commit 21e009f

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Installing this component is very easy and it has just one dependency: [React](h
2424
$ bower install --save react-simpletabs
2525
```
2626

27-
- Or if you want to [download the lastest release](https://github.com/pedronauck/react-simpletabs/archive/v0.5.1.zip) and put in your website, it will work too!
27+
- Or if you want to [download the lastest release](https://github.com/pedronauck/react-simpletabs/archive/v0.5.2.zip) and put in your website, it will work too!
2828

2929
**NOTICE:** You need just one thing to make the component work. Put the [base component style](./dist/react-simpletabs.css) at the `<header>` tag. If you don't wanna use the `.css` extension, you can get the `.styl` or `.scss` extension at the folder `./lib`.
3030

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-simpletabs",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"homepage": "https://github.com/pedronauck/react-simpletabs",
55
"authors": [
66
"Pedro Nauck <pedronauck@gmail.com> (https://github.com/pedronauck)"

dist/react-simpletabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
*
33
* React Simpletabs - Just a simple tabs component built with React
4-
* @version v0.5.1
4+
* @version v0.5.2
55
* @link https://github.com/pedronauck/react-simpletabs
66
* @license MIT
77
* @author Pedro Nauck (https://github.com/pedronauck)

dist/react-simpletabs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
*
33
* React Simpletabs - Just a simple tabs component built with React
4-
* @version v0.5.1
4+
* @version v0.5.2
55
* @link https://github.com/pedronauck/react-simpletabs
66
* @license MIT
77
* @author Pedro Nauck (https://github.com/pedronauck)
@@ -182,7 +182,7 @@ return /******/ (function(modules) { // webpackBootstrap
182182
title: React.PropTypes.string.isRequired,
183183
children: React.PropTypes.oneOfType([
184184
React.PropTypes.array,
185-
React.PropTypes.component
185+
React.PropTypes.element
186186
]).isRequired
187187
},
188188
render:function () {

dist/react-simpletabs.min.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
*
33
* React Simpletabs - Just a simple tabs component built with React
4-
* @version v0.5.1
4+
* @version v0.5.2
55
* @link https://github.com/pedronauck/react-simpletabs
66
* @license MIT
77
* @author Pedro Nauck (https://github.com/pedronauck)

dist/react-simpletabs.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/react-simpletabs.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Tabs.Panel = React.createClass({
117117
title: React.PropTypes.string.isRequired,
118118
children: React.PropTypes.oneOfType([
119119
React.PropTypes.array,
120-
React.PropTypes.component
120+
React.PropTypes.element
121121
]).isRequired
122122
},
123123
render () {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-simpletabs",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "Just a simple tabs component built with React",
55
"author": {
66
"name": "Pedro Nauck",

0 commit comments

Comments
 (0)