UNPKG

cdbreact

Version:

Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps

29 lines (28 loc) 860 B
import React from "react"; import PropTypes from "prop-types"; interface Props { active?: boolean; children?: React.ReactNode; className?: string; disabled?: boolean; tag?: Function | string; onClick?: React.MouseEventHandler<HTMLButtonElement>; } declare const PageItem: { (props: Props): JSX.Element; propTypes: { active: PropTypes.Requireable<boolean>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; className: PropTypes.Requireable<string>; disabled: PropTypes.Requireable<boolean>; tag: PropTypes.Requireable<string | ((...args: any[]) => any)>; }; defaultProps: { active: boolean; className: string; disabled: boolean; tag: string; }; }; export default PageItem; export { PageItem as CDBPageItem };