@selfcommunity/react-ui 0.11.0-alpha.84 → 0.11.0-alpha.85
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.
|
@@ -24,9 +24,9 @@ const Root = (0, material_1.styled)(BaseDialog_1.default, {
|
|
|
24
24
|
const Transition = react_1.default.forwardRef(function Transition(props, ref) {
|
|
25
25
|
return (0, jsx_runtime_1.jsx)(material_1.Slide, Object.assign({ direction: "up", ref: ref }, props));
|
|
26
26
|
});
|
|
27
|
-
const NoTransition =
|
|
28
|
-
return (0, jsx_runtime_1.
|
|
29
|
-
}
|
|
27
|
+
const NoTransition = function NoTransition(props) {
|
|
28
|
+
return (0, jsx_runtime_1.jsx)(react_1.default.Fragment, { children: props.children });
|
|
29
|
+
};
|
|
30
30
|
function PdfPreviewDialog(inProps) {
|
|
31
31
|
// PROPS
|
|
32
32
|
const props = (0, system_1.useThemeProps)({
|
|
@@ -22,9 +22,9 @@ const Root = styled(BaseDialog, {
|
|
|
22
22
|
const Transition = React.forwardRef(function Transition(props, ref) {
|
|
23
23
|
return _jsx(Slide, Object.assign({ direction: "up", ref: ref }, props));
|
|
24
24
|
});
|
|
25
|
-
const NoTransition =
|
|
26
|
-
return
|
|
27
|
-
}
|
|
25
|
+
const NoTransition = function NoTransition(props) {
|
|
26
|
+
return _jsx(React.Fragment, { children: props.children });
|
|
27
|
+
};
|
|
28
28
|
export default function PdfPreviewDialog(inProps) {
|
|
29
29
|
// PROPS
|
|
30
30
|
const props = useThemeProps({
|