import React, { ReactNode, type JSX } from 'react'; import './index.css'; export type ClickableProps = { children?: ReactNode; /** * The component used for root element. * @type T extends React.ElementType = 'button' */ component?: T; } & Omit, 'children'>; declare const Clickable: (p: ClickableProps) => JSX.Element; export default Clickable; /** * @deprecated * remained for v3 compatibility and will be removed in the future */ export type ClickableElement = HTMLButtonElement & HTMLAnchorElement; //# sourceMappingURL=index.d.ts.map