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

Function PlaceholderButton

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

Source from the content-addressed store, hash-verified

15};
16
17function PlaceholderButton(props) {
18 let { cssModule, className, tag: Tag = Button, ...attributes } = props;
19
20 let { modifiedAttributes, colClasses } = getColumnClasses(
21 { color: 'primary', ...attributes },
22 cssModule,
23 );
24
25 const classes = mapToCssModules(
26 classNames('placeholder', className, colClasses),
27 cssModule,
28 );
29
30 return <Tag {...modifiedAttributes} className={classes} disabled />;
31}
32
33PlaceholderButton.propTypes = propTypes;
34

Callers

nothing calls this directly

Calls 2

getColumnClassesFunction · 0.90
mapToCssModulesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…