cdbreact
Version:
Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps
25 lines (24 loc) • 734 B
TypeScript
import React from "react";
import PropTypes from "prop-types";
interface Props {
children?: React.ReactNode;
disabled?: boolean;
className?: string;
tag?: Function | string;
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
}
declare const PageLink: {
(props: Props): JSX.Element;
propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
disabled: PropTypes.Requireable<boolean>;
className: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string | ((...args: any[]) => any)>;
};
defaultProps: {
tag: string;
disabled: boolean;
};
};
export default PageLink;
export { PageLink as CDBPageLink };