# leadin/11.1.21/scripts/elementor/Common/ElementorBanner.tsx

HubSpot All-In-One Marketing – Forms, Popups, Live Chat, version 11.1.21. 21 lines.

- Page: https://pluginprobe.com/plugins/leadin/11.1.21/code/scripts/elementor/Common/ElementorBanner.tsx
- Raw: https://pluginprobe.com/plugins/leadin/11.1.21/raw/scripts/elementor/Common/ElementorBanner.tsx
- Modified: 2024-06-05T09:30:44+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/leadin/11.1.21/code/scripts/elementor/Common/ElementorBanner.tsx#L10-L20`.

```tsx
import React from 'react';

interface IElementorBannerProps {
  type?: string;
}

export default function ElementorBanner({
  type = 'warning',
  children,
}: React.PropsWithChildren<IElementorBannerProps>) {
  return (
    <div className="elementor-control-content">
      <div
        className={`elementor-control-raw-html elementor-panel-alert elementor-panel-alert-${type}`}
      >
        {children}
      </div>
    </div>
  );
}

```
