Merged in chore/BOOK-708-replace-title-component (pull request #3414)
Chore/BOOK-708 replace title component * chore(BOOK-708): replace title with typography * chore(BOOK-708): replace title with typography * chore(BOOK-708): remove Title from package.json Approved-by: Linus Flood Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -11,7 +11,7 @@ import { useState } from "react"
|
||||
import Table from "@scandic-hotels/design-system/Table"
|
||||
|
||||
import { Section } from "@/components/Section"
|
||||
import SectionHeader from "@/components/Section/Header/Deprecated"
|
||||
import { SectionHeader } from "@/components/Section/Header"
|
||||
import ShowMoreButton from "@/components/TempDesignSystem/ShowMoreButton"
|
||||
|
||||
import styles from "./table.module.css"
|
||||
@@ -54,7 +54,7 @@ export default function TableBlock({ data }: TableBlockProps) {
|
||||
|
||||
return (
|
||||
<Section>
|
||||
<SectionHeader preamble={preamble} title={heading} />
|
||||
<SectionHeader preamble={preamble} heading={heading} />
|
||||
<div className={styles.tableWrapper}>
|
||||
<Table
|
||||
width={`${totalWidth}%`}
|
||||
|
||||
Reference in New Issue
Block a user