@sinco/react 1.0.15-rc.40 → 1.0.15-rc.42

Sign up to get free protection for your applications and to get access to all the features.
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
- }))), actions && /*#__PURE__*/React.createElement(Stack, {
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15-rc.40",
3
+ "version": "1.0.15-rc.42",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export interface PageheaderProperties {
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 {};