@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
25 lines (24 loc) • 1.14 kB
TypeScript
import { ElementColorType } from "../../themes/color-system.js";
import * as _sinclair_typebox5644 from "@sinclair/typebox";
import { SchemaOptions, Static } from "@sinclair/typebox";
//#region src/shared/bricks/props/background.d.ts
type BackgroundOptions = {
title?: string;
default?: {
image?: string;
size?: string;
repeat?: string;
};
colorType?: ElementColorType;
};
declare function background(opts?: BackgroundOptions): _sinclair_typebox5644.TObject<{
image: _sinclair_typebox5644.TString;
size: _sinclair_typebox5644.TOptional<_sinclair_typebox5644.TUnsafe<"auto" | "cover" | "contain">>;
repeat: _sinclair_typebox5644.TOptional<_sinclair_typebox5644.TUnsafe<"repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round">>;
}>;
type BackgroundSettings = Static<ReturnType<typeof background>>;
declare function backgroundColor(options?: SchemaOptions): _sinclair_typebox5644.TString;
type BackgroundColorSettings = Static<ReturnType<typeof backgroundColor>>;
//#endregion
export { BackgroundColorSettings, BackgroundSettings, background, backgroundColor };
//# sourceMappingURL=background.d.ts.map