mirror of
https://github.com/learnhouse/docs.git
synced 2026-11-28 16:58:38 +01:00
30 lines
773 B
JavaScript
30 lines
773 B
JavaScript
'use client'
|
|
|
|
export function Table({ children, ...props }) {
|
|
return (
|
|
<div className="lh-table-wrap">
|
|
<table className="lh-table" {...props}>{children}</table>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export function Thead({ children, ...props }) {
|
|
return <thead className="lh-table-head" {...props}>{children}</thead>
|
|
}
|
|
|
|
export function Tbody({ children, ...props }) {
|
|
return <tbody className="lh-table-body" {...props}>{children}</tbody>
|
|
}
|
|
|
|
export function Tr({ children, ...props }) {
|
|
return <tr className="lh-table-row" {...props}>{children}</tr>
|
|
}
|
|
|
|
export function Th({ children, ...props }) {
|
|
return <th className="lh-table-th" {...props}>{children}</th>
|
|
}
|
|
|
|
export function Td({ children, ...props }) {
|
|
return <td className="lh-table-td" {...props}>{children}</td>
|
|
}
|