allowing tab title to recieve string or React element
This commit is contained in:
parent
677c80421b
commit
04911bdf5b
@ -109,7 +109,10 @@ Tab.propTypes = {
|
|||||||
id: React.PropTypes.string,
|
id: React.PropTypes.string,
|
||||||
name: React.PropTypes.string,
|
name: React.PropTypes.string,
|
||||||
style: React.PropTypes.object,
|
style: React.PropTypes.object,
|
||||||
title: React.PropTypes.string
|
title: React.PropTypes.oneOfType([
|
||||||
|
React.PropTypes.string,
|
||||||
|
React.PropTypes.node
|
||||||
|
])
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Baseline(
|
export default Baseline(
|
||||||
|
Loading…
Reference in New Issue
Block a user