Skip to content

Commit

Permalink
type as as string
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicalc committed Dec 1, 2021
1 parent a4c4607 commit 2f154c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/ReactNodeViewRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface ReactNodeViewRendererOptions extends NodeViewRendererOptions {
newDecorations: Decoration[],
updateProps: () => void,
}) => boolean) | null,
as?: React.ElementType,
as?: string,
}

class ReactNodeView extends NodeView<React.FunctionComponent, Editor, ReactNodeViewRendererOptions> {
Expand Down

0 comments on commit 2f154c0

Please sign in to comment.