import { Color } from '@ionic/core'; import { ButtonGroupMetadata } from '../../molecules/button-group/types'; import { TitleBlockMetada } from '../../molecules/title-block/types'; /** * Props for val-banner component. * * @property token - Optional identifier for the banner. * @property image - Optional image for the banner. * @property color - The background color of the banner. * @property bordered - Whether the banner has a border. * @property closable - Whether the banner can be closed. * @property mode - Banner display mode ('row' | 'column' | 'hybrid' | 'center'). * @property alignment - Content alignment ('center' | 'middle' | 'bottom'). * @property actions - Button group configuration (optional). * @property content - Title block content configuration. * @property padding - Custom padding for the banner (optional). */ export type BannerMetadata = { token?: string; image?: string; color: Color; bordered: boolean; closable: boolean; mode: 'row' | 'column' | 'hybrid' | 'center'; alignment: 'center' | 'middle' | 'bottom'; actions?: ButtonGroupMetadata; content: TitleBlockMetada; padding?: string; };