fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
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
|