UNPKG

@yamada-ui/react

Version:

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

61 lines (60 loc) 2.53 kB
import { ThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLStyledProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { BlockquoteStyle } from "./blockquote.style.js"; import "../../index.js"; import * as react47 from "react"; import { ReactNode } from "react"; //#region src/components/blockquote/blockquote.d.ts interface BlockquoteRootProps extends Omit<HTMLStyledProps<"figure">, "cite">, ThemeProps<BlockquoteStyle>, Pick<BlockquoteContentProps, "citeUrl">, Pick<BlockquoteCaptionProps, "withDash"> { /** * The citation of the blockquote. */ cite?: ReactNode; /** * The icon of the blockquote. */ icon?: ReactNode; /** * The props for the `BlockquoteCaption` component. */ captionProps?: HTMLStyledProps<"figcaption">; /** * The props for the `BlockquoteCite` component. */ citeProps?: HTMLStyledProps<"cite">; /** * The props for the `BlockquoteContent` component. */ contentProps?: HTMLStyledProps<"blockquote">; } declare const BlockquotePropsContext: react47.Context<Partial<BlockquoteRootProps> | undefined>, useBlockquotePropsContext: () => Partial<BlockquoteRootProps> | undefined; /** * `Blockquote` is a component that represents a blockquote. By default, it renders a `blockquote` element. * * @see https://yamada-ui.com/docs/components/blockquote */ declare const BlockquoteRoot: Component<"figure", BlockquoteRootProps>; interface BlockquoteContentProps extends HTMLStyledProps<"blockquote"> { /** * The URL of the citation of the blockquote. */ citeUrl?: string; } declare const BlockquoteContent: Component<"blockquote", BlockquoteContentProps>; interface BlockquoteCaptionProps extends HTMLStyledProps<"figcaption"> { /** * If `true`, the dash will be shown. * * @default false */ withDash?: boolean; } declare const BlockquoteCaption: Component<"figcaption", BlockquoteCaptionProps>; interface BlockquoteCiteProps extends HTMLStyledProps<"cite"> {} declare const BlockquoteCite: Component<"cite", BlockquoteCiteProps>; interface BlockquoteIconProps extends HTMLStyledProps<"svg"> {} declare const BlockquoteIcon: Component<"svg", BlockquoteIconProps>; //#endregion export { BlockquoteCaption, BlockquoteCaptionProps, BlockquoteCite, BlockquoteCiteProps, BlockquoteContent, BlockquoteContentProps, BlockquoteIcon, BlockquoteIconProps, BlockquotePropsContext, BlockquoteRoot, BlockquoteRootProps, useBlockquotePropsContext }; //# sourceMappingURL=blockquote.d.ts.map