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
14 lines
273 B
TypeScript
14 lines
273 B
TypeScript
import styles from "./table.module.css"
|
|
|
|
import type { THeadProps } from "./table"
|
|
|
|
function TH({ children, width = "auto", ...props }: THeadProps) {
|
|
return (
|
|
<th className={styles.th} style={{ width }} {...props}>
|
|
{children}
|
|
</th>
|
|
)
|
|
}
|
|
|
|
export default TH
|