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:
Shahed Nasser
2025-01-23 17:02:25 +02:00
committed by GitHub
parent 4eecda5466
commit c4eb36b837
5 changed files with 79 additions and 63 deletions
@@ -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,