import React from 'react' import { ForwardedRef, forwardRef } from 'react' import { ThProps } from './types' import { ThStyle, ThTdContentStyle, ArrowBottomStyle, ArrowTopStyle, } from './styles' function Th(props: ThProps, ref?: ForwardedRef) { const { align = 'left', children, sortDir, variant, ...rest } = props return ( {children} {sortDir === 'ASC' && } {sortDir === 'DESC' && } ) } export default forwardRef(Th)