2021-06-30 15:31:44 +00:00
|
|
|
# Campaigns Banner
|
|
|
|
|
|
|
|
Used to display an campaigns banner.
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```js
|
2022-07-22 19:01:25 +00:00
|
|
|
import CampaignsBanner from "@docspace/components/campaigns-banner";
|
2021-06-30 15:31:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
<CampaignsBanner />
|
|
|
|
```
|
|
|
|
|
|
|
|
### Properties
|
|
|
|
|
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ------------- | :------------: | :------: | :----: | :-----: | ----------------- |
|
|
|
|
| `headerLabel` | `string` | ✅ | - | - | |
|
|
|
|
| `textLabel` | `string` | ✅ | - | - | |
|
|
|
|
| `img` | `string` | ✅ | - | - | |
|
|
|
|
| `btnLabel` | `string` | ✅ | - | - | |
|
|
|
|
| `btnLink` | `string` | ✅ | - | - | |
|
|
|
|
| `className` | `string` | - | - | - | Accepts class |
|
|
|
|
| `id` | `string` | - | - | - | Accepts id |
|
|
|
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|