appirio-tech-react-components-test10
Version:
Topcoder UI Kit library of components for our React apps.
24 lines (18 loc) • 429 B
JSX
import React from 'react'
import PropTypes from 'prop-types'
const Tab = ({children}) => <div>{children}</div>
Tab.propTypes = {
/**
* The unique key of the tab. Used by parent component.
*/
eventKey: PropTypes.any.isRequired,
/**
* The tab title. Used by parent component.
*/
title: PropTypes.string.isRequired,
/**
* The tab content
*/
children: PropTypes.any.isRequired
}
export default Tab