Continuing updating the reformatting of propTypes and set redux, intl functions to end of component
• Removing: - the reformatting of propTypes and set redux, intl functions to end of component
This commit is contained in:
@@ -7,11 +7,7 @@ import PillItem from './pill_item'
|
||||
* Renders pills components
|
||||
* @param {array} [props.pills] - tab bar data for creating `TabBarItem`
|
||||
*/
|
||||
export default class Pills extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
pills: PropTypes.array,
|
||||
}
|
||||
class Pills extends React.PureComponent {
|
||||
|
||||
render() {
|
||||
const { pills } = this.props
|
||||
@@ -37,4 +33,10 @@ export default class Pills extends React.PureComponent {
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Pills.propTypes = {
|
||||
pills: PropTypes.array,
|
||||
}
|
||||
|
||||
export default Pills
|
||||
Reference in New Issue
Block a user