@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
19 lines (18 loc) • 1.19 kB
TypeScript
import * as _sinclair_typebox6109 from "@sinclair/typebox";
import { ObjectOptions, Static } from "@sinclair/typebox";
//#region src/shared/bricks/props/image.d.ts
type PropImageOptions = {
showImgSearch?: boolean;
noObjectOptions?: boolean;
} & ObjectOptions;
declare function image(options?: PropImageOptions): _sinclair_typebox6109.TObject<{
src: _sinclair_typebox6109.TString;
alt: _sinclair_typebox6109.TOptional<_sinclair_typebox6109.TString>;
aspectRatio: _sinclair_typebox6109.TOptional<_sinclair_typebox6109.TUnsafe<"auto" | "1:1" | "4:3" | "3:4" | "16:9" | "9:16" | "2:3" | "3:2" | "5:4" | "4:5" | "21:9" | "9:21" | "original">>;
fit: _sinclair_typebox6109.TOptional<_sinclair_typebox6109.TUnsafe<"object-none" | "object-contain" | "object-cover" | "object-fill" | "object-scale-down">>;
position: _sinclair_typebox6109.TOptional<_sinclair_typebox6109.TUnsafe<"object-top" | "object-center" | "object-bottom" | "object-left" | "object-right" | "object-top-left" | "object-top-right" | "object-bottom-left" | "object-bottom-right">>;
}>;
type ImageProps = Static<ReturnType<typeof image>>;
//#endregion
export { ImageProps, image };
//# sourceMappingURL=image.d.ts.map