27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
# Campaigns Banner
|
|
|
|
Used to display an campaigns banner.
|
|
|
|
### Usage
|
|
|
|
```js
|
|
import CampaignsBanner from "@docspace/components/campaigns-banner";
|
|
```
|
|
|
|
```jsx
|
|
<CampaignsBanner />
|
|
```
|
|
|
|
### Properties
|
|
|
|
| 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 |
|