UNPKG

zeed-dynamic-table

Version:

A flexible and dynamic table component for React and Next.js applications without Tailwind dependencies

17 lines (16 loc) 564 B
import React, { ReactNode } from "react"; type LinkProps = { href: string; item: any; children: ReactNode; className?: string; target?: string; rel?: string; onClick?: (e: React.MouseEvent) => void; }; /** * Universal Link component that works in both React and Next.js (including latest versions) * Auto-detects Next.js environment and uses the appropriate link component */ declare const Link: ({ item, href, children, className, target, rel, onClick, }: LinkProps) => import("react/jsx-runtime").JSX.Element; export default Link;