import FP from '../fp' import { ComponentProps } from '../../types' import React from 'react' export const Caption = ({ children, ...props }: ComponentProps) => { return ( {children} ) } export const Thead = ({ children, ...props }: ComponentProps) => ( {children} ) export const Tbody = ({ children, ...props }: ComponentProps) => ( {children} ) export const Tr = ({ children, ...props }: ComponentProps) => ( {children} ) export const Td = ({ children, ...props }: ComponentProps) => ( {children} ) export const Table = ({ id, children, ...props }: ComponentProps) => { return ( {children}
) } Table.displayName = 'Table' Caption.displayName = 'Caption' Thead.displayName = 'Thead' Tbody.displayName = 'Tbody' Tr.displayName = 'Tr' Td.displayName = 'Td'