allowing tab title to recieve string or React element

This commit is contained in:
Alex Windett 2017-03-03 14:08:11 +00:00
parent 677c80421b
commit 04911bdf5b

View File

@ -109,7 +109,10 @@ Tab.propTypes = {
id: React.PropTypes.string,
name: React.PropTypes.string,
style: React.PropTypes.object,
title: React.PropTypes.string
title: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.node
])
};
export default Baseline(