import { interstitialProps } from '../Interstitial/Interstitial'; import { CallToActionTypes } from '../utils/variant.types'; import { PropsWithChildren, ReactNode } from 'react'; export interface ChevronProps extends PropsWithChildren { /** * render as button or a element */ as?: "button" | "a" | undefined; /** * react node to add as a children */ children?: ReactNode; /** * text to display in the chevron */ displayText?: string; /** * defines the color for the chevron */ variant: CallToActionTypes; /** * Defines the url to redirect */ targetUrl: string; /** * identifier for the component */ id?: string; /** * Defines if the cta will be a button or a chevron */ type?: "Button" | "Chevron"; /** * additional classname */ className?: string; /** * Value that allow to go back in the previus page */ goBack?: boolean; /** * URL for icon selection button */ icon?: string; marketingIntersitial?: interstitialProps; newTab?: boolean; onClick?: () => void; action?: () => void; classNameWrapper?: string; leftArrow?: boolean; hideArrow?: boolean; }