UNPKG

cdbreact

Version:

Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps

29 lines (28 loc) 866 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): React.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 };