import React, { FC, PropsWithChildren } from 'react' import { classNames } from '@app/utils/classes' const styles = { infoContainer: 'px-4 py-2.5 flex flex-col flex-1 text-base justify-start space-y-0.5', infoBorder: 'space-y-0.5', p: 'text-base', row: 'flex place-items-center space-x-2', } type BaseProps = PropsWithChildren<{ title?: string icon?: any className?: string }> export const InfoBlock: FC = ({ children, title, icon, className, }) => { return (
{title || icon ? (
{icon} {title ?

{title}

: null}
) : null}
{children}
) }