feat(SW-216): Added heading and preamble text to table block

This commit is contained in:
Erik Tiekstra
2024-10-08 11:06:33 +02:00
committed by Pontus Dreij
parent 5c10d36745
commit 23953aeb61
5 changed files with 67 additions and 50 deletions

View File

@@ -4,10 +4,10 @@ import { useMemo } from "react"
import useScrollShadows from "@/hooks/useScrollShadows"
import { ScrollWrapperProps } from "./scrollWrapper"
import styles from "./scrollWrapper.module.css"
import type { ScrollWrapperProps } from "./scrollWrapper"
export default function ScrollWrapper({
className,
children,

View File

@@ -1,4 +1,3 @@
import { TableProps } from "./table"
import TBody from "./TBody"
import TD from "./TD"
import TH from "./TH"
@@ -6,6 +5,8 @@ import THead from "./THead"
import TR from "./TR"
import { tableVariants } from "./variants"
import type { TableProps } from "./table"
function Table({
className,
intent,