UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

28 lines (27 loc) 1.22 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { LinkBoxStyle } from "./link-box.style.js"; import "../../index.js"; import * as react824 from "react"; //#region src/components/link-box/link-box.d.ts interface LinkBoxRootProps extends HTMLStyledProps, ThemeProps<LinkBoxStyle> {} declare const LinkBoxPropsContext: react824.Context<Partial<LinkBoxRootProps> | undefined>, useLinkBoxPropsContext: () => Partial<LinkBoxRootProps> | undefined; /** * `LinkBox` is a component that allows elements such as articles or cards to function as a single link. * * @see https://yamada-ui.com/docs/components/link-box */ declare const LinkBoxRoot: Component<"div", LinkBoxRootProps>; interface LinkBoxOverlayProps extends HTMLStyledProps<"a"> { /** * If `true`, the link will open in new tab. * * @default false */ external?: boolean; } declare const LinkBoxOverlay: Component<"a", LinkBoxOverlayProps>; //#endregion export { LinkBoxOverlay, LinkBoxOverlayProps, LinkBoxPropsContext, LinkBoxRoot, LinkBoxRootProps, useLinkBoxPropsContext }; //# sourceMappingURL=link-box.d.ts.map