uix
uix copied to clipboard
Add a provideImage method to provide dynamic rendered images
We should offer a method to provide (svg / png & common mime types) by passing JSX in the entrypoint definitions. see POC here https://github.com/unyt-org/metadata-poc/blob/main/common/html-to-image.tsx
provideImage(jsx, { width, height, contentType});