mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-23 02:16:08 +00:00
Add isBinary flag to editor documents to handle binary files appropriately Update BinaryContent component styling to display properly in the editor
8 lines
254 B
TypeScript
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>
|
|
);
|
|
}
|