import TBody from "./TBody"
import TD from "./TD"
import TH from "./TH"
import THead from "./THead"
import TR from "./TR"

import styles from "./table.module.css"

function Table({ children }: React.PropsWithChildren) {
  return <table className={styles.table}>{children}</table>
}

Table.THead = THead
Table.TH = TH
Table.TBody = TBody
Table.TD = TD
Table.TR = TR

export default Table
