import Heading from '@/components/atoms/Heading/Heading.component' import { IIconTitle } from './IconTitle.interface' import React from 'react' import { StyledIconTitle } from './IconTitle.theme' const IconTitle = ({ label, icon, imageElement, className, style, children, ...props }: IIconTitle) => { return ( {icon && icon} {imageElement && imageElement} {children} ) } export default IconTitle