fix: image attr type

This commit is contained in:
Palanikannan M
2024-10-28 16:56:18 +05:30
parent daf14f17c7
commit 523b0a3eaf

View File

@@ -9,7 +9,7 @@ export type CustomImageComponentProps = {
node: NodeViewProps["node"] & {
attrs: ImageAttributes;
};
updateAttributes: (attrs: ImageAttributes) => void;
updateAttributes: (attrs: Partial<ImageAttributes>) => void;
selected: boolean;
};