import { PropsWithChildren, AnchorHTMLAttributes } from 'react';
import { UISref, UISrefProps } from '@uirouter/react';
interface Props {
title?: string;
target?: AnchorHTMLAttributes['target'];
rel?: AnchorHTMLAttributes['rel'];
}
export function Link({
title = '',
className,
children,
...props
}: PropsWithChildren & UISrefProps) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
{children}
);
}