import { Banner, Button, IconWarning32, Link } from '@create-figma-plugin/ui'; import { useFigmaContext } from '@ui/context'; import { Stack } from './Stack'; export const LibraryError = () => { const { reload, cancel, error } = useFigmaContext(); if (!error) return null; return ( } variant="warning"> Oops! It looks like there was an error generating the export file. Please open an issue in our{' '} Github repository , and we'll be happy to assist you! ); };