diff --git a/.eslintignore b/.eslintignore
index dcfffe46f..3d71d7ea6 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -3,6 +3,7 @@ dist
scripts
lib
.env
+*.mdx
*.log
storybook-static
vite.config.js
diff --git a/packages/react-components/src/components/PromoBanner/PromoBanner.mdx b/packages/react-components/src/components/PromoBanner/PromoBanner.mdx
index 9fb316d16..5269784be 100644
--- a/packages/react-components/src/components/PromoBanner/PromoBanner.mdx
+++ b/packages/react-components/src/components/PromoBanner/PromoBanner.mdx
@@ -17,10 +17,13 @@ import { linkTo } from '@storybook/addon-links';
label: 'Browse PromoBannerV2',
handleClick: linkTo('Components/PromoBannerV2'),
}}
- >
- This component is deprecated, it will be not updated anymore, and in
- the version 2.0.0 will be removed.
- We strongly recommend you to start using PromoBannerV2 component.
+ >
+ Deprecated component
+
+ This component is deprecated, it will be not updated anymore, and in
+
+ the version 2.0.0 will be removed.
+ We strongly recommend you to start using PromoBannerV2 component.
diff --git a/packages/react-components/src/components/PromoBannerV2/PromoBannerV2.mdx b/packages/react-components/src/components/PromoBannerV2/PromoBannerV2.mdx
index 00c99c829..85290ce49 100644
--- a/packages/react-components/src/components/PromoBannerV2/PromoBannerV2.mdx
+++ b/packages/react-components/src/components/PromoBannerV2/PromoBannerV2.mdx
@@ -12,20 +12,21 @@ import { SMALL_CONTAINER_WIDTH_TRESHOLD } from './constants.ts';
## Intro
The `PromoBannerV2` component is used to display a promotional banner with a customizable layout and content. It can be used to display a variety of content, such as a call to action, a message, or an image.
+
### Example implementation
```jsx
{}
- }
- secondaryButton={
+ handleClick: () => {},
+ }}
+ secondaryButton={{
label: 'Secondary CTA',
- handleClick: () => {}
- }
+ handleClick: () => {},
+ }}
additionalContent={}
onClose={() => {}}
>
@@ -34,8 +35,8 @@ The `PromoBannerV2` component is used to display a promotional banner with a cus
Title goes here, up 2 lines of text
- A description with a maximum of 100 characters. That usually means
- only one or two sentences.
+ A description with a maximum of 100 characters. That usually means only
+ one or two sentences.
```
@@ -96,7 +97,7 @@ import { PromoBannerV2 } from '@livechat/design-system-react-components';
Join us for a video call, and we'll thank you with a $25 gift card.
-
+;
```
### How to control the elements