We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57bcdb8 commit 8ac7cb6Copy full SHA for 8ac7cb6
src/tabs/TabHeader.jsx
@@ -25,6 +25,6 @@ export function TabHeader({ index, isActive, title, onSelect }) {
25
TabHeader.propTypes = {
26
index: PropTypes.number,
27
isActive: PropTypes.bool,
28
- title: PropTypes.string,
+ title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
29
onSelect: PropTypes.func,
30
};
0 commit comments