@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
16 lines (15 loc) • 888 B
TypeScript
import { ThemingProps } from "../theme/types.js";
import { TypographyProps } from "../system/typography.js";
import { SystemProps } from "../system/system.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