{
- if (onClose) onClose();
- context.setOpen(false);
+ style={{
+ display: 'flex',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ padding: '12px'
}}
>
- {iconRequired &&
}
+
{headerText}
+
{
+ if (onClose) onClose();
+ context?.setOpen(false);
+ }}
+ >
+ {iconRequired && }
+