feat: add style to SSR invoice paper template

This commit is contained in:
Ahmed Bouhuolia
2024-11-05 17:09:47 +02:00
parent 22ea557337
commit d23f33bae4
9 changed files with 131 additions and 61 deletions

View File

@@ -1,5 +1,9 @@
import { x } from '@xstyled/emotion';
import { SystemProps, x } from '@xstyled/emotion';
export const Text = ({ children }: { children: React.ReactNode }) => {
return <x.div>{children}</x.div>;
export interface TextProps extends SystemProps {
children?: React.ReactNode;
}
export const Text = ({ children, ...restProps }: TextProps) => {
return <x.div {...restProps}>{children}</x.div>;
};