26 lines
611 B
TypeScript
26 lines
611 B
TypeScript
import { Typography } from "@scandic-hotels/design-system/Typography"
|
|
|
|
import styles from "./row.module.css"
|
|
|
|
interface RowProps {
|
|
label: string
|
|
value: string
|
|
}
|
|
|
|
export default function RegularRow({ label, value }: RowProps) {
|
|
return (
|
|
<tr className={styles.row}>
|
|
<td>
|
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
|
<span>{label}</span>
|
|
</Typography>
|
|
</td>
|
|
<td className={styles.price}>
|
|
<Typography variant="Body/Supporting text (caption)/smRegular">
|
|
<span>{value}</span>
|
|
</Typography>
|
|
</td>
|
|
</tr>
|
|
)
|
|
}
|