1 import { Component } from "inferno";
2 import { PictrsImage } from "./pictrs-image";
4 interface BannerIconHeaderProps {
9 export class BannerIconHeader extends Component<BannerIconHeaderProps, any> {
10 constructor(props: any, context: any) {
11 super(props, context);
15 const banner = this.props.banner;
16 const icon = this.props.icon;
18 <div className="position-relative mb-2">
19 {banner && <PictrsImage src={banner} banner alt="" />}
24 pushup={!!this.props.banner}