@coinmeca/ui
Version:
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
38 lines • 1.1 kB
TypeScript
import { TextMotion } from "./TextMotion";
export type TextType = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "strong" | "p" | "desc" | "link" | "button";
export type TextAlign = "left" | "center" | "right";
export type TextCase = "upper" | "lower" | "capital";
export interface Text {
children?: any;
title?: string;
style?: object;
type?: TextType;
align?: TextAlign;
case?: TextCase;
size?: number;
color?: string | false;
change?: boolean;
href?: string;
target?: string;
onClick?: Function;
weight?: number | string;
height?: number;
opacity?: number | false;
responsive?: Responsive;
fit?: boolean;
fix?: boolean;
motion?: TextMotion;
}
export interface Responsive {
style?: object;
size?: number;
color?: string | false;
change?: boolean;
weight?: number | string;
height?: number;
align?: TextAlign;
opacity?: number | false;
device: "desktop" | "laptop" | "tablet" | "mobile";
}
export default function Text(props: Text): import("react").JSX.Element;
//# sourceMappingURL=Text.d.ts.map