MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / render

Method render

src/TabContent.js:31–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
49export default TabContent;

Callers

nothing calls this directly

Calls 2

omitFunction · 0.90
mapToCssModulesFunction · 0.90

Tested by

no test coverage detected