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

Function PaginationItem

src/PaginationItem.js:20–39  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

18};
19
20function PaginationItem(props) {
21 const {
22 active,
23 className,
24 cssModule,
25 disabled,
26 tag: Tag = 'li',
27 ...attributes
28 } = props;
29
30 const classes = mapToCssModules(
31 classNames(className, 'page-item', {
32 active,
33 disabled,
34 }),
35 cssModule,
36 );
37
38 return <Tag {...attributes} className={classes} />;
39}
40
41PaginationItem.propTypes = propTypes;
42

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…