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

Function FormText

src/FormText.js:15–35  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

13};
14
15function FormText(props) {
16 const {
17 className,
18 cssModule,
19 inline,
20 color = 'muted',
21 tag: Tag = 'small',
22 ...attributes
23 } = props;
24
25 const classes = mapToCssModules(
26 classNames(
27 className,
28 !inline ? 'form-text' : false,
29 color ? `text-${color}` : false,
30 ),
31 cssModule,
32 );
33
34 return <Tag {...attributes} className={classes} />;
35}
36
37FormText.propTypes = propTypes;
38

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…