docs: added note in API reference clarifying what schemas are (#11116)
* docs: added note in API reference clarifying what schemas are * add yarn lock
This commit is contained in:
@@ -4,14 +4,13 @@ import type { LinkProps as NextLinkProps } from "next/link"
|
||||
import clsx from "clsx"
|
||||
import { TriangleRightMini } from "@medusajs/icons"
|
||||
|
||||
export type LinkProps = {
|
||||
href?: string
|
||||
children?: React.ReactNode
|
||||
className?: string
|
||||
target?: string
|
||||
rel?: string
|
||||
withIcon?: boolean
|
||||
} & Partial<NextLinkProps>
|
||||
export type LinkProps = Partial<NextLinkProps> &
|
||||
React.AllHTMLAttributes<HTMLAnchorElement> & {
|
||||
href?: string
|
||||
children?: React.ReactNode
|
||||
className?: string
|
||||
withIcon?: boolean
|
||||
}
|
||||
|
||||
export const Link = ({
|
||||
href,
|
||||
|
||||
Reference in New Issue
Block a user