ultisuite-client/components/gmail/email-view/remote-content-banner.tsx
R3D347HR4Y 8a02c10ba3 Add environment configuration and update email view components
- Created a .cursorignore file to manage local environment files.
- Updated .env.example to reflect changes in the public app URL.
- Modified the gmail workspace configuration to include the drive-suite path.
- Enhanced email view components to support attachment handling and fallback for plain text bodies.
- Improved user experience by updating attachment display logic and integrating inline attachment support.
2026-06-04 00:12:43 +02:00

31 lines
685 B
TypeScript

"use client"
export function RemoteContentBanner({
onShowOnce,
onAlwaysShow,
}: {
onShowOnce: () => void
onAlwaysShow: () => void
}) {
return (
<p className="mb-3 text-sm leading-snug text-muted-foreground">
Le contenu distant a é masqué&nbsp;:{" "}
<button
type="button"
onClick={onShowOnce}
className="text-primary hover:underline"
>
afficher le contenu distant
</button>
{" — "}
<button
type="button"
onClick={onAlwaysShow}
className="text-primary hover:underline"
>
toujours afficher le contenu distant de cet expéditeur
</button>
</p>
)
}