bolt.diy/app/components/editor/codemirror/BinaryContent.tsx
KevIsDev 18f1b251ab fix: add binary file detection support
Add isBinary flag to editor documents to handle binary files appropriately
Update BinaryContent component styling to display properly in the editor
2025-06-09 13:10:21 +01:00

8 lines
254 B
TypeScript

export function BinaryContent() {
return (
<div className="flex items-center justify-center absolute inset-0 z-10 text-sm bg-bolt-elements-background-depth-2 text-bolt-elements-textPrimary">
File format cannot be displayed.
</div>
);
}