Comparing version 1.0.0-alpha.50-main.20240511T055721 to 1.0.0-alpha.50-main.20240512T011534
import { type AnchorHTMLAttributes, type DetailedHTMLProps } from 'react'; | ||
export declare function Autolink(props: DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>): import("react/jsx-runtime.js").JSX.Element; | ||
export declare function Autolink(props: Omit<DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, 'ref'>): import("react/jsx-runtime.js").JSX.Element; | ||
//# sourceMappingURL=Autolink.d.js.map |
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { clsx } from 'clsx'; | ||
import {} from 'react'; | ||
import { useLocation } from 'react-router-dom'; | ||
import { Link, useLocation } from 'react-router-dom'; | ||
import * as styles from './Autolink.css.js'; | ||
export function Autolink(props) { | ||
const { pathname } = useLocation(); | ||
return (_jsx("a", { ...props, className: clsx(props.className, styles.root), href: `${pathname}${props.href}` })); | ||
return (_jsx(Link, { ...props, className: clsx(props.className, styles.root), to: `${pathname}${props.href}` })); | ||
} | ||
//# sourceMappingURL=Autolink.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.0.0-alpha.50-main.20240511T055721"; | ||
export declare const version = "1.0.0-alpha.50-main.20240512T011534"; | ||
//# sourceMappingURL=version.d.js.map |
@@ -1,2 +0,2 @@ | ||
export const version = '1.0.0-alpha.50-main.20240511T055721'; | ||
export const version = '1.0.0-alpha.50-main.20240512T011534'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
export const version = '1.0.0-alpha.50-main.20240511T055721' | ||
export const version = '1.0.0-alpha.50-main.20240512T011534' |
{ | ||
"name": "vocs", | ||
"description": "React Documentation Generator, powered by Vite.", | ||
"version": "1.0.0-alpha.50-main.20240511T055721", | ||
"version": "1.0.0-alpha.50-main.20240512T011534", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1525692