Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* The main classes of the component.
* @type {html|string}
*/
elementClasses: Config.string().value(''),
/**
* The class to apply visibility animation
* @type {string}
*/
animationClass: Config.string().value('show-animation'),
/**
* The content of the component.
* @type {html|string}
*/
body: Config.any(),
/**
* Close button.
* @type {boolean}
* @default true
*/
closeButton: {
value: true,
},
/**
* Close button html.
* @type {html|string}
*/
closeButtonHtml: Config.any(),
body: Config.any(),
/**
* Close button.
* @type {boolean}
* @default true
*/
closeButton: {
value: true,
},
/**
* Close button html.
* @type {html|string}
*/
closeButtonHtml: Config.any(),
/**
* Is visible flag.
* @type {boolean}
* @default true
*/
isVisible: {
value: true,
},
};
Soy.register(Banner, templates);
export {Banner};
export default Banner;
* @default left
* @type {?string}
*/
iconAlignment: Config.oneOf(['left', 'right']).value('left'),
/**
* @default undefined
* @type {?(string|undefined)}
*/
id: Config.string(),
/**
* @default undefined
* @type {?(html|string|undefined)}
*/
label: Config.any(),
/**
* @default false
* @type {?boolean}
*/
loading: Config.bool().value(false),
/**
* @default undefined
* @type {?(string|undefined)}
*/
name: Config.string(),
/**
* @default undefined
* @type {?(string|undefined)}