Feat/CJ-17 points expiration table * feat(CJ-17): Added point expiration table and refactored to use Table component * feat(CJ-17): Use Table component inside Row * fix(CJ-117): Added missing css class and update date formatting * fix(CJ-117): Added copy of membershipLevel route with a protectedProcedure Approved-by: Christel Westerberg
15 lines
257 B
TypeScript
15 lines
257 B
TypeScript
import styles from "./table.module.css"
|
|
|
|
function TD({
|
|
children,
|
|
...rest
|
|
}: React.PropsWithChildren<React.TdHTMLAttributes<HTMLTableCellElement>>) {
|
|
return (
|
|
<td className={styles.td} {...rest}>
|
|
{children}
|
|
</td>
|
|
)
|
|
}
|
|
|
|
export default TD
|