@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
26 lines (25 loc) • 988 B
TypeScript
import { ThemeProps } from "../../core/system/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { LinkStyle } from "./link.style.js";
import "../../index.js";
import * as react825 from "react";
//#region src/components/link/link.d.ts
interface LinkProps extends HTMLStyledProps<"a">, ThemeProps<LinkStyle> {
/**
* If `true`, the link will open in new tab.
*
* @default false
*/
external?: boolean;
}
declare const LinkPropsContext: react825.Context<Partial<LinkProps> | undefined>, useLinkPropsContext: () => Partial<LinkProps> | undefined;
/**
* `Link` is a component for creating hyperlinks to different web pages, locations within the same page, or other URLs.
*
* @see https://yamada-ui.com/docs/components/link
*/
declare const Link: Component<"a", LinkProps>;
//#endregion
export { Link, LinkProps, LinkPropsContext, useLinkPropsContext };
//# sourceMappingURL=link.d.ts.map