| 1 |
import InfoIcon from './InfoIcon'; |
| 2 |
|
| 3 |
const CommonHeadingBox = ({ title = '', className = '', url = '' }) => { |
| 4 |
return ( |
| 5 |
<div |
| 6 |
className={`!disco-bg-gray-100 disco-px-4 disco-py-2 disco-rounded-t-xl ${className}`} |
| 7 |
> |
| 8 |
<div className="disco-flex disco-items-center disco-gap-1.5"> |
| 9 |
<h1 className="disco-text-xl">{title}</h1> |
| 10 |
<InfoIcon url={url} /> |
| 11 |
</div> |
| 12 |
</div> |
| 13 |
); |
| 14 |
}; |
| 15 |
export default CommonHeadingBox; |
| 16 |
|