feat: satori and resvg for rendering

This commit is contained in:
TresAbhi committed 2023-05-28 02:25:59 +00:00
1 parent e48ea4c307
commit c834f4f966
34 files changed
+670 -501

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { ReactNode } from 'react';
export interface WrapperProps {
children: ReactNode;
}
export default function Wrapper({ children }: WrapperProps) {
return (
<div
style={{
display: 'flex',
flexDirection: 'column',
padding: 16,
gap: 32,
width: 640,
background: 'black',
color: 'white',
}}
>
{children}
</div>
);
}