@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
27 lines (26 loc) • 1.19 kB
TypeScript
import * as _sinclair_typebox6126 from "@sinclair/typebox";
import { Static, StringOptions } from "@sinclair/typebox";
//#region src/shared/bricks/props/text.d.ts
type Options = StringOptions & {
"ui:no-extra-large-sizes"?: boolean;
};
declare function fontSize(options?: Options): _sinclair_typebox6126.TUnsafe<"text-sm" | "inherit" | "text-xs" | "text-base" | "text-lg" | "text-xl">;
type FontSizeSettings = Static<ReturnType<typeof fontSize>>;
declare function fontSizeXL(options?: Options): _sinclair_typebox6126.TUnsafe<"text-sm" | "inherit" | "text-xs" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl">;
type TextContentOptions = {
showInSettings?: boolean;
disableSizing?: boolean;
disableAlignment?: boolean;
};
declare function textContent({
title,
default: defaults,
showInSettings,
disableSizing,
disableAlignment,
...rest
}?: TextContentOptions & StringOptions): _sinclair_typebox6126.TString;
type TextContentSettings = Static<ReturnType<typeof textContent>>;
//#endregion
export { FontSizeSettings, TextContentSettings, fontSize, fontSizeXL, textContent };
//# sourceMappingURL=text.d.ts.map