TeaserSlideshow
===============

*   GitHub: [BonnierNews/dn-design-system/web/src/components/teaser-slideshow](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/teaser-slideshow)
*   Storybook: [TeaserSlideshow](https://designsystem.dn.se/?path=/docs/section-teaserslideshow--docs)

The component will not include styling by itself. Make sure to include the right styles for the component. See example below: `@use '@bonniernews/dn-design-system-web/components/teaser-slideshow/teaser-slideshow.scss'`

| Name | Description | Default |
|:--- | :--- | :--- |
| title\* | Heading of the teaser<br />string | \- |
| targetLink | Target URL for the teaser<br />string | \- |
| areaType | The area where the column is rendered<br />"main", "right", "bauta" | \- |
| classNames | Ex. "my-special-class"<br />string | \- |
| attributes | Ex. { target: "\_blank", "data-test": "lorem ipsum" }<br />Record<string, unknown> | { } |
| theme | The theme-class to apply to the teaser<br />"kultur", "nyheter" | \- |
| media | Main image or other media<br />ComponentChild | \- |
| text | Teaser subtext<br />string | \- |

```jsx
<TeaserSlideshow
  media={<>--Gallery ComponentChild--</>}
  text="Kolla på alla fina bilder från festen!"
  title="Nyårsafton 2023"
/>
```