Skip to content

Commit ebb232f

Browse files
chore: Removed theme props of subcomponents
1 parent 3a2a1c0 commit ebb232f

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import PropTypes from 'prop-types';
21
import classNames from 'classnames';
32
import styles from './Dots.module.css';
43

@@ -13,11 +12,4 @@ const Dots = ({ className, ...props }) => {
1312
);
1413
};
1514

16-
Dots.propTypes = {
17-
theme: PropTypes.shape({
18-
colors: PropTypes.object,
19-
spacing: PropTypes.object,
20-
}),
21-
};
22-
2315
export default Dots;

components/Pagination/sub-components/PageButton.jsx

-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ PageButton.propTypes = {
3030
tabIndex: PropTypes.number,
3131
children: PropTypes.number.isRequired,
3232
onClick: PropTypes.func,
33-
theme: PropTypes.shape({
34-
baseFontSize: PropTypes.number,
35-
colors: PropTypes.object,
36-
spacing: PropTypes.object,
37-
}),
3833
};
3934

4035
export default PageButton;

0 commit comments

Comments
 (0)