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

Function ToastBody

src/ToastBody.js:17–31  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

15};
16
17function ToastBody(props) {
18 const {
19 className,
20 cssModule,
21 innerRef,
22 tag: Tag = 'div',
23 ...attributes
24 } = props;
25 const classes = mapToCssModules(
26 classNames(className, 'toast-body'),
27 cssModule,
28 );
29
30 return <Tag {...attributes} className={classes} ref={innerRef} />;
31}
32
33ToastBody.propTypes = propTypes;
34

Callers

nothing calls this directly

Calls 1

mapToCssModulesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…