mirror of
https://github.com/yldio/copilot.git
synced 2024-11-30 23:20:06 +02:00
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,
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user