react-audio-wavekit 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,21 +106,7 @@ const LiveStreamingStackRecorder = react.forwardRef(
|
|
|
106
106
|
}
|
|
107
107
|
drawWaveform();
|
|
108
108
|
}, [isRecording, isPaused, drawWaveform]);
|
|
109
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
110
|
-
"canvas",
|
|
111
|
-
{
|
|
112
|
-
ref: canvasRef,
|
|
113
|
-
className,
|
|
114
|
-
style: {
|
|
115
|
-
width: "100%",
|
|
116
|
-
height: "100%",
|
|
117
|
-
...style
|
|
118
|
-
},
|
|
119
|
-
"aria-hidden": "true",
|
|
120
|
-
tabIndex: -1,
|
|
121
|
-
...props
|
|
122
|
-
}
|
|
123
|
-
);
|
|
109
|
+
return /* @__PURE__ */ jsxRuntime.jsx("canvas", { ref: canvasRef, className, style, "aria-hidden": "true", tabIndex: -1, ...props });
|
|
124
110
|
}
|
|
125
111
|
);
|
|
126
112
|
exports.LiveStreamingStackRecorder = LiveStreamingStackRecorder;
|
|
@@ -104,21 +104,7 @@ const LiveStreamingStackRecorder = forwardRef(
|
|
|
104
104
|
}
|
|
105
105
|
drawWaveform();
|
|
106
106
|
}, [isRecording, isPaused, drawWaveform]);
|
|
107
|
-
return /* @__PURE__ */ jsx(
|
|
108
|
-
"canvas",
|
|
109
|
-
{
|
|
110
|
-
ref: canvasRef,
|
|
111
|
-
className,
|
|
112
|
-
style: {
|
|
113
|
-
width: "100%",
|
|
114
|
-
height: "100%",
|
|
115
|
-
...style
|
|
116
|
-
},
|
|
117
|
-
"aria-hidden": "true",
|
|
118
|
-
tabIndex: -1,
|
|
119
|
-
...props
|
|
120
|
-
}
|
|
121
|
-
);
|
|
107
|
+
return /* @__PURE__ */ jsx("canvas", { ref: canvasRef, className, style, "aria-hidden": "true", tabIndex: -1, ...props });
|
|
122
108
|
}
|
|
123
109
|
);
|
|
124
110
|
export {
|