@conboai/storybook.components 0.1.18 → 0.1.19
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.
|
@@ -58284,9 +58284,15 @@ const _5 = {
|
|
|
58284
58284
|
)
|
|
58285
58285
|
}
|
|
58286
58286
|
);
|
|
58287
|
-
}, c3 = ({
|
|
58288
|
-
|
|
58289
|
-
|
|
58287
|
+
}, c3 = ({
|
|
58288
|
+
onGenerate: t,
|
|
58289
|
+
isLoading: e,
|
|
58290
|
+
src: n,
|
|
58291
|
+
isHls: r,
|
|
58292
|
+
playVideo: o = !1
|
|
58293
|
+
}) => {
|
|
58294
|
+
const [i, a] = ut(o), l = () => {
|
|
58295
|
+
t(), a(!0);
|
|
58290
58296
|
};
|
|
58291
58297
|
return /* @__PURE__ */ E.jsx(
|
|
58292
58298
|
at,
|
|
@@ -58296,7 +58302,7 @@ const _5 = {
|
|
|
58296
58302
|
justifyContent: "center",
|
|
58297
58303
|
alignItems: "center",
|
|
58298
58304
|
sx: { display: "flex", backgroundColor: gn },
|
|
58299
|
-
children:
|
|
58305
|
+
children: i ? /* @__PURE__ */ E.jsx(N5, { src: n, isLoading: e, isHls: r }) : /* @__PURE__ */ E.jsx(Yr, { onClick: l, size: "large", children: "Generate video" })
|
|
58300
58306
|
}
|
|
58301
58307
|
);
|
|
58302
58308
|
};
|