UNPKG

@hhgtech/hhg-components

Version:
20 lines (19 loc) 836 B
import React, { CSSProperties } from 'react'; type HeadingProps = { type: 'h1' | 'h2' | 'h3' | 'h4'; color?: string; style?: CSSProperties; [x: string]: string | JSX.Element | JSX.Element[] | React.ReactNode; }; declare const MarryBabyHeading: ({ type, color, style, ...props }: HeadingProps) => React.JSX.Element; type TextProps = { type: 'subtitle-1' | 'subtitle-2' | 'subtitle-3' | 'bodytext-1' | 'bodytext-2' | 'bodytext-3' | 'caption-1' | 'caption-2'; color?: string; style?: CSSProperties; [x: string]: string | JSX.Element | JSX.Element[] | React.ReactNode; }; /** * @deprecated Consider to use at '@hhgtech/hhg-components/mantine' */ declare const MarryBabyText: ({ type, color, style, ...props }: TextProps) => React.JSX.Element; export { MarryBabyHeading, MarryBabyText };