feat: Optimize SCSS architecture.

This commit is contained in:
a.bouhuolia
2021-01-17 12:17:15 +02:00
parent a747750d88
commit 09db5df686
154 changed files with 2814 additions and 2772 deletions

View File

@@ -6,6 +6,8 @@ import PropTypes from 'prop-types';
import { range } from 'lodash';
import { Icon } from 'components';
import 'style/components/DataTable/Pagination.scss';
const getState = ({ currentPage, size, total }) => {
const totalPages = Math.ceil(total / size);
const visibleItems = 5;