fix(BOOK-436): Added new section component and deprecated the other

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-10-13 08:31:26 +00:00
parent 7bd75f01e4
commit 339e7195dc
34 changed files with 245 additions and 177 deletions

View File

@@ -0,0 +1,15 @@
import { cx } from "class-variance-authority"
import styles from "./section.module.css"
export function Section({
children,
className,
...props
}: React.PropsWithChildren<React.HTMLAttributes<HTMLElement>>) {
return (
<section {...props} className={cx(styles.section, className)}>
{children}
</section>
)
}