namirasoft-site-react 1.2.23 → 1.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/images/left-vector.png +0 -0
- package/dist/assets/images/right-vector.png +0 -0
- package/dist/components/NSPagination.js +2 -2
- package/package.json +1 -1
- package/src/assets/images/left-vector.png +0 -0
- package/src/assets/images/right-vector.png +0 -0
- package/src/components/NSPagination.tsx +2 -2
|
Binary file
|
|
Binary file
|
|
@@ -19,7 +19,7 @@ export default class NSPagination extends Component {
|
|
|
19
19
|
else
|
|
20
20
|
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: index })) }));
|
|
21
21
|
};
|
|
22
|
-
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/
|
|
22
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/left-vector.png', alt: 'left_vector' }) })) }));
|
|
23
23
|
pushPage(1);
|
|
24
24
|
if (page > window * 2)
|
|
25
25
|
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: "..." })) }));
|
|
@@ -28,7 +28,7 @@ export default class NSPagination extends Component {
|
|
|
28
28
|
if (page <= size - window * 2)
|
|
29
29
|
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#', className: 'text-decoration-none text-light' }, { children: "..." })) }));
|
|
30
30
|
pushPage(size);
|
|
31
|
-
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/
|
|
31
|
+
arr.push(_jsx("div", { children: _jsx("a", Object.assign({ href: '#' }, { children: _jsx("img", { src: '/assets/images/right-vector.png', alt: 'right_vector' }) })) }));
|
|
32
32
|
return (_jsx("div", Object.assign({ className: "container" }, { children: arr.map(x => (x)) })));
|
|
33
33
|
}
|
|
34
34
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -33,7 +33,7 @@ export default class NSPagination extends Component<IState, IProps>
|
|
|
33
33
|
else
|
|
34
34
|
arr.push(<div><a href='#' className='text-decoration-none text-light'>{index}</a></div>);
|
|
35
35
|
};
|
|
36
|
-
arr.push(<div><a href='#'><img src='/assets/images/
|
|
36
|
+
arr.push(<div><a href='#'><img src='/assets/images/left-vector.png' alt='left_vector'></img></a></div>);
|
|
37
37
|
pushPage(1);
|
|
38
38
|
if (page > window * 2)
|
|
39
39
|
arr.push(<div><a href='#' className='text-decoration-none text-light'>...</a></div>);
|
|
@@ -42,7 +42,7 @@ export default class NSPagination extends Component<IState, IProps>
|
|
|
42
42
|
if (page <= size - window * 2)
|
|
43
43
|
arr.push(<div><a href='#' className='text-decoration-none text-light'>...</a></div>);
|
|
44
44
|
pushPage(size);
|
|
45
|
-
arr.push(<div><a href='#'><img src='/assets/images/
|
|
45
|
+
arr.push(<div><a href='#'><img src='/assets/images/right-vector.png' alt='right_vector'></img></a></div>);
|
|
46
46
|
|
|
47
47
|
return (
|
|
48
48
|
<div className="container">
|