Testing to relocate CSS according to new App dir functionality

This commit is contained in:
Henrik Larsson
2023-05-05 11:39:18 +02:00
parent efe0c68b03
commit d328f1ed96
9 changed files with 79 additions and 208 deletions

View File

@@ -1,12 +1,14 @@
const Price = ({
className,
amount,
currencyCode,
...props
}: {
amount: string;
currencyCode: string | 'SEK' | 'GPB';
className?: string;
} & React.ComponentProps<'p'>) => (
<p suppressHydrationWarning={true} {...props}>
<p className={className} suppressHydrationWarning={true} {...props}>
{`${new Intl.NumberFormat(undefined, {
style: 'currency',