()
| 29 | } |
| 30 | |
| 31 | render() { |
| 32 | const { className, cssModule, tag: Tag = 'div' } = this.props; |
| 33 | |
| 34 | const attributes = omit(this.props, Object.keys(propTypes)); |
| 35 | |
| 36 | const classes = mapToCssModules( |
| 37 | classNames('tab-content', className), |
| 38 | cssModule, |
| 39 | ); |
| 40 | |
| 41 | return ( |
| 42 | <TabContext.Provider value={{ activeTabId: this.state.activeTab }}> |
| 43 | <Tag {...attributes} className={classes} /> |
| 44 | </TabContext.Provider> |
| 45 | ); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | export default TabContent; |
nothing calls this directly
no test coverage detected