UNPKG

@retailmenot/anchor

Version:

A React UI Library by RetailMeNot

20 lines (19 loc) 945 B
import * as React from 'react'; import { SpaceProps } from '@xstyled/system'; import { TextAlign } from '../Typography/Typography.component'; interface HeroProps extends React.HTMLAttributes<HTMLDivElement>, SpaceProps { background?: string; align?: TextAlign; color?: string; className?: string; children?: any; minHeight?: string; } export declare const Hero: { ({ background, align, minHeight, className, children, ...props }: HeroProps): React.ReactElement<any>; Title: ({ className, children, weight, scale, as, ...props }: any) => React.ReactElement<any>; Subtitle: ({ className, children, scale, weight, ...props }: any) => React.ReactElement<any>; }; export declare const HeroTitle: ({ className, children, weight, scale, as, ...props }: any) => React.ReactElement<any>; export declare const HeroSubtitle: ({ className, children, scale, weight, ...props }: any) => React.ReactElement<any>; export {};