@sinco/react 1.0.15-rc.40 → 1.0.15-rc.42
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.
- package/index.js +4 -16
- package/package.json +1 -1
- package/src/lib/Components/PageHeader.d.ts +2 -1
package/index.js
CHANGED
|
@@ -2746,21 +2746,6 @@ const FooterActionComponent = ({
|
|
|
2746
2746
|
}), /*#__PURE__*/React.createElement(Box$1, null, labelChangeCounter), renderRightContent));
|
|
2747
2747
|
};
|
|
2748
2748
|
|
|
2749
|
-
// export function PageHeaderWraps({
|
|
2750
|
-
// item,
|
|
2751
|
-
// Color,
|
|
2752
|
-
// variant,
|
|
2753
|
-
// }: {
|
|
2754
|
-
// item: string | React.ReactNode;
|
|
2755
|
-
// Color: string;
|
|
2756
|
-
// variant: Variant;
|
|
2757
|
-
// }) {
|
|
2758
|
-
// return (
|
|
2759
|
-
// <Typography variant={variant} color={Color}>
|
|
2760
|
-
// {item}
|
|
2761
|
-
// </Typography>
|
|
2762
|
-
// );
|
|
2763
|
-
// }
|
|
2764
2749
|
const PageHeaderComponent = ({
|
|
2765
2750
|
title,
|
|
2766
2751
|
subtitle,
|
|
@@ -2793,7 +2778,10 @@ const PageHeaderComponent = ({
|
|
|
2793
2778
|
alignItems: "center",
|
|
2794
2779
|
flexDirection: "row",
|
|
2795
2780
|
gap: 2
|
|
2796
|
-
}
|
|
2781
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
2782
|
+
variant: "caption",
|
|
2783
|
+
color: "text.secondary"
|
|
2784
|
+
}, subtitle)))), actions && /*#__PURE__*/React.createElement(Stack, {
|
|
2797
2785
|
gap: 1,
|
|
2798
2786
|
alignItems: "center",
|
|
2799
2787
|
flexDirection: "row"
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
interface PageheaderProperties {
|
|
3
3
|
title: string | React.ReactNode;
|
|
4
4
|
subtitle?: string | React.ReactNode;
|
|
5
5
|
actions?: React.ReactNode;
|
|
@@ -7,3 +7,4 @@ export interface PageheaderProperties {
|
|
|
7
7
|
fixed?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
|
10
|
+
export {};
|