cdbreact
Version:
Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps
38 lines (37 loc) • 1.15 kB
TypeScript
import React from 'react';
import PropTypes from 'prop-types';
interface Props {
children?: React.ReactNode;
circle?: boolean;
className?: string;
colors?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'white' | 'dark';
size?: string;
tag?: [Function, string];
sm?: boolean;
color?: any;
shape?: any;
}
declare const Pagination: {
(props: Props): React.JSX.Element;
propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
circle: PropTypes.Requireable<boolean>;
className: PropTypes.Requireable<string>;
colors: PropTypes.Requireable<string>;
size: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string | ((...args: any[]) => any)>;
sm: PropTypes.Requireable<boolean>;
};
defaultProps: {
circle: boolean;
className: string;
color: string;
colors: string;
tag: string;
shape: string;
size: string;
sm: boolean;
};
};
export default Pagination;
export { Pagination as CDBPagination };