blob: 16881a7f7259419be7352a84e5fb101ea3300a65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React, { Component, Fragment } from 'react';
import { oneOrManyChildElements } from '../../../prop-types';
export default class TabItem extends Component {
static propTypes = {
children: oneOrManyChildElements.isRequired,
}
render() {
const { children } = this.props;
return (
<Fragment>{children}</Fragment>
);
}
}
|