MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / render

Method render

src/Form.js:37–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 render() {
38 const {
39 className,
40 cssModule,
41 tag: Tag = 'form',
42 innerRef,
43 ...attributes
44 } = this.props;
45
46 const classes = mapToCssModules(className, cssModule);
47 return <Tag {...attributes} ref={innerRef} className={classes} />;
48 }
49}
50
51Form.propTypes = propTypes;

Callers

nothing calls this directly

Calls 1

mapToCssModulesFunction · 0.90

Tested by

no test coverage detected