import React from 'react'; import classnames from 'classnames'; import { AlignItems, BorderColor, Display, } from '../../../helpers/constants/design-system'; import { BannerBase, Box } from '..'; import { BoxProps, PolymorphicRef } from '../box'; import { BannerBaseProps } from '../banner-base'; import { BannerTipComponent, BannerTipLogoType, BannerTipProps, } from './banner-tip.types'; export const BannerTip: BannerTipComponent = React.forwardRef( ( { children, className = '', logoType = BannerTipLogoType.Greeting, logoWrapperProps, logoProps, startAccessory, ...props }: BannerTipProps, ref?: PolymorphicRef, ) => ( )} className={classnames( 'mm-banner-tip--logo', logoProps?.className ?? '', )} /> ) } borderColor={BorderColor.borderDefault} className={classnames('mm-banner-tip', className)} {...(props as BannerBaseProps)} > {children} ), );