UNPKG

@hhgtech/hhg-components

Version:
20 lines (19 loc) 823 B
import React from 'react'; import { DefaultProps, Selectors } from '@mantine/core'; import { ButtonProps } from "../../../mantine"; import { DataTrackingType } from "../../../../interfaces/types"; import useStyles from "./index.styles"; import { Props as BannerLayoutProps } from "../bannerLayout"; import { OptionBannerStyleType, OptionBannerType } from "../types"; export interface Props extends DefaultProps<Selectors<typeof useStyles> & BannerLayoutProps> { heading: string; description: string; items?: Array<OptionBannerType>; submitHandler?: any; styleType?: OptionBannerStyleType; buttonProps?: ButtonProps; value?: string; submitBtnTracking?: DataTrackingType; } declare const BannerWithOptions: (props: Props) => React.JSX.Element; export { BannerWithOptions };