@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
23 lines (22 loc) • 956 B
TypeScript
import { ThemingProps } from "../theme/types.js";
import "../theme/index.js";
import { TypographyProps } from "../system/typography.js";
import { SystemProps } from "../system/system.js";
import "../system/index.js";
//#region src/heading/heading.types.d.ts
type HeadingProps = SystemProps & ThemingProps<'Heading'> & {
/** Alias for textAlign prop. @deprecated */
align?: TypographyProps['textAlign'];
/** Alias for textTransform prop. @deprecated */
casing?: TypographyProps['textTransform'];
/** Alias for textDecoration prop. @deprecated */
decoration?: TypographyProps['textDecoration'];
/** Displays given text if no children are provided. */
text?: React.ReactNode;
/** Alias for fontWeight prop. @deprecated */
weight?: TypographyProps['fontWeight'];
};
type HeadingSize = 'title' | 'lead' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
//#endregion
export { HeadingProps, HeadingSize };
//# sourceMappingURL=heading.types.d.ts.map