Web: Components: CampaignsBanner - added description
This commit is contained in:
parent
39f0a7b2c0
commit
6852d0eaa7
@ -14,13 +14,13 @@ import CampaignsBanner from "@docspace/components/campaigns-banner";
|
||||
|
||||
### Properties
|
||||
|
||||
| Props | Type | Required | Values | Default | Description |
|
||||
| ------------- | :------------: | :------: | :----: | :-----: | ----------------- |
|
||||
| `headerLabel` | `string` | ✅ | - | - | |
|
||||
| `textLabel` | `string` | ✅ | - | - | |
|
||||
| `img` | `string` | ✅ | - | - | |
|
||||
| `buttonLabel` | `string` | ✅ | - | - | |
|
||||
| `btnLink` | `string` | ✅ | - | - | |
|
||||
| `className` | `string` | - | - | - | Accepts class |
|
||||
| `id` | `string` | - | - | - | Accepts id |
|
||||
| `style` | `obj`, `array` | - | - | - | Accepts css style |
|
||||
| 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 |
|
||||
|
@ -65,10 +65,15 @@ CampaignsBanner.propTypes = {
|
||||
className: PropTypes.string,
|
||||
/** Accepts css style */
|
||||
style: PropTypes.object,
|
||||
/** Label */
|
||||
headerLabel: PropTypes.string,
|
||||
/** Label subheader */
|
||||
subHeaderLabel: PropTypes.string,
|
||||
/** Image source */
|
||||
img: PropTypes.string,
|
||||
/** Header button text */
|
||||
buttonLabel: PropTypes.string,
|
||||
/** The link that opens when the button is clicked */
|
||||
link: PropTypes.string,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user