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
|
|
|
|
|
2023-04-17 13:25:16 +00:00
|
|
|
| Props | Type | Required | Values | Default | Description |
|
|
|
|
| ------------- | :------------: | :------: | :----: | :-----: | ---------------------------------------------- |
|
|
|
|
| `headerLabel` | `string` | ✅ | - | - | Label subheader |
|
|
|
|
| `textLabel` | `string` | ✅ | - | - | Label |
|
|
|
|
| `img` | `string` | ✅ | - | - | Image source |
|
|
|
|
| `buttonLabel` | `string` | ✅ | - | - | Header button text |
|
|
|
|
| `link` | `string` | ✅ | - | - | The link that opens when the button is clicked |
|
|
|
|
| `className` | `string` | - | - | - | Accepts class |
|
|
|
|
| `id` | `string` | - | - | - | Accepts id |
|
|
|
|
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|