import React from "react" export interface Props { align?: 'left' | 'center' | 'right', width?: number | string, className?: string, children?: any, } const Th = ({ align, children, width, className }: Props): JSX.Element => { const getWidth = () => { if (width) return { width: `${width}px` } return {} } return (
{ children }
) } export default Th