Changes
1 changed files (+2/-8)
-
-
@@ -46,10 +46,7 @@ // typings accidentally. `as unknown` is required because a component created by// `createComponent` has `RefAttributes<unknown>`, which is incompatible with existing // type signature (and breaks ref typings). Also the explicit props definition prevents // every properties turns into optional. export const FigspecFrameViewer = (createComponent< FigspecFrameViewerElement, FigspecFrameViewerEvents >(React, "figspec-frame-viewer", FigspecFrameViewerElement, { export const FigspecFrameViewer = (createComponent(React, "figspec-frame-viewer", FigspecFrameViewerElement, { onNodeSelect: "nodeselect", onPositionChange: "positionchange", onScaleChange: "scalechange",
-
@@ -91,10 +88,7 @@export type FigspecFileViewerProps = FigspecFileViewerElementProps & FigspecFileViewerEvents; export const FigspecFileViewer = (createComponent< FigspecFileViewerElement, FigspecFileViewerEvents >(React, "figspec-file-viewer", FigspecFileViewerElement, { export const FigspecFileViewer = (createComponent(React, "figspec-file-viewer", FigspecFileViewerElement, { onNodeSelect: "nodeselect", onPositionChange: "positionchange", onScaleChange: "scalechange",
-