TeaserCentered
==============

*   GitHub: [BonnierNews/dn-design-system/web/src/components/teaser-centered](https://github.com/BonnierNews/dn-design-system/tree/main/web/src/components/teaser-centered)
*   Storybook: [Teasercentered](https://designsystem.dn.se/?path=/docs/section-teasercentered--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-centered/teaser-centered.scss'`

| Name | Description | Default |
|:--- | :--- | :--- |
| areaType | The area where the column is rendered<br />"main", "bauta" | \- |
| title\* | Heading of the teaser<br />string | \- |
| targetLink | Target URL for the teaser<br />string | \- |
| 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" | "nyheter" |
| highlight | Text before the heading<br />string | \- |
| vignette | Top text in the teaser<br />string | \- |
| media | Main image or other media<br />ComponentChild | \- |
| text | Teaser subtext<br />string | \- |

```jsx
<TeaserCentered
  highlight="Just nu:"
  media={<TeaserImage byline="Foto: Paul Hansen" image={<ExamplePicture alt="Strumpor på torklina" className="picture picture--placeholder" src="https://cached-images.bonnier.news/gcs/bilder/dn-mly/752e4f6d-7c66-4d24-81b1-4b24b12771a9.jpeg?interpolation=lanczos-none&fit=around%7C1010:569&crop=1010:h;center,top&output-quality=80" srcSet="https://cached-images.bonnier.news/gcs/bilder/dn-mly/752e4f6d-7c66-4d24-81b1-4b24b12771a9.jpeg?interpolation=lanczos-none&fit=around%7C770:434&crop=770:h;center,top&output-quality=80 770w, https://cached-images.bonnier.news/gcs/bilder/dn-mly/752e4f6d-7c66-4d24-81b1-4b24b12771a9.jpeg?interpolation=lanczos-none&fit=around%7C1010:569&crop=1010:h;center,top&output-quality=80 1010w, https://cached-images.bonnier.news/gcs/bilder/dn-mly/752e4f6d-7c66-4d24-81b1-4b24b12771a9.jpeg?interpolation=lanczos-none&fit=around%7C1540:867&crop=1540:h;center,top&output-quality=60 1540w, https://cached-images.bonnier.news/gcs/bilder/dn-mly/752e4f6d-7c66-4d24-81b1-4b24b12771a9.jpeg?interpolation=lanczos-none&fit=around%7C2020:1137&crop=2020:h;center,top&output-quality=60 2020w" style={{aspectRatio: '16 / 9'}}/>}/>}
  targetLink="https://www.dn.se/sverige/tobias-billstrom-lamnar-politiken-helt-och-hallet/"
  text="Utrikesministern lämnar politiken helt"
  title="Tobias Billström avgår"
  vignette="SVERIGE"
/>
```