import { ComponentProps, ReactNode } from 'react'; import Container from './Container'; import AnimateItems from './AnimateItems'; import { IoInformationCircleOutline } from 'react-icons/io5'; import { clsx } from 'clsx/lite'; export default function Note(props: { icon?: ReactNode animate?: boolean cta?: ReactNode hideIcon?: boolean } & ComponentProps) { const { icon, animate, cta, hideIcon, color = 'blue', padding, children, ...rest } = props; return (
{!hideIcon && {icon ?? } } {children} {cta && {cta} }
, ]} animateOnFirstLoadOnly /> ); }