@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
25 lines (24 loc) • 991 B
TypeScript
import { ThemeProps } from "../../core/system/index.types.js";
import { CSSProps } from "../../core/css/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { ImageStyle } from "./image.style.js";
import "../../index.js";
import * as react833 from "react";
//#region src/components/image/image.d.ts
interface ImageProps extends HTMLStyledProps<"img">, ThemeProps<ImageStyle> {
/**
* The CSS `object-fit` property.
*/
fit?: CSSProps["objectFit"];
}
declare const ImagePropsContext: react833.Context<Partial<ImageProps> | undefined>, useImagePropsContext: () => Partial<ImageProps> | undefined;
/**
* `Image` is a component that displays images with fallback support.
*
* @see https://yamada-ui.com/docs/components/image
*/
declare const Image: Component<"img", ImageProps>;
//#endregion
export { Image, ImageProps, ImagePropsContext, useImagePropsContext };
//# sourceMappingURL=image.d.ts.map