10 lines
403 B
TypeScript
10 lines
403 B
TypeScript
import {LinkProps} from "next/link";
|
|
import React, {AnchorHTMLAttributes} from "react";
|
|
import {Url} from "next/dist/shared/lib/router/router";
|
|
|
|
export interface CustomLinkProps extends LinkProps, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps> {
|
|
children?: React.ReactNode
|
|
type?: "button" | "submit" | "reset"
|
|
typeStyle?: "primary" | "secondary" | "tertiary"
|
|
link?: Url
|
|
} |