@regenbio/regenbio-components-react 1.3.59 → 1.3.61

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.
@@ -39,7 +39,6 @@ export type RbAppLayoutProps = {
39
39
  /**
40
40
  * 子节点渲染方法
41
41
  * @param children 子节点
42
- * @param footer 版权信息等展示的底部
43
42
  */
44
- childrenRender?: (children: React.ReactNode | React.ReactNode[], footer: React.ReactNode | React.ReactNode[]) => React.ReactNode | React.ReactNode[];
43
+ childrenRender?: (children: React.ReactNode | React.ReactNode[]) => React.ReactNode | React.ReactNode[];
45
44
  };
@@ -6,5 +6,7 @@ import { RbPageContainerProps } from "./type";
6
6
  declare const usePageContainer: (props: RbPageContainerProps) => {
7
7
  mode: "light" | "realDark";
8
8
  loading: boolean;
9
+ initialState: import("../../..").RbInitialStateRespProps;
10
+ headerHeight: number;
9
11
  };
10
12
  export default usePageContainer;
@@ -1,6 +1,6 @@
1
1
  import { PageContainerProps } from "@ant-design/pro-layout/es/components/PageContainer";
2
2
  import { Ref } from "react";
3
- import { Scrollbars } from "react-custom-scrollbars";
3
+ import Scrollbars from "react-custom-scrollbars";
4
4
  /**
5
5
  * 页面容器属性
6
6
  */
@@ -20,14 +20,5 @@ export type RbPageContainerProps = {
20
20
  /**
21
21
  * 滚动条Ref
22
22
  */
23
- scrollRef?: Ref<Scrollbars>;
23
+ scrollbarsRef?: Ref<Scrollbars>;
24
24
  } & PageContainerProps;
25
- /**
26
- * 容器状态属性
27
- */
28
- export type RbContainerStateProps = {
29
- /**
30
- * 滚动条Ref
31
- */
32
- scroll?: HTMLElement;
33
- };
package/build/index.d.ts CHANGED
@@ -20,7 +20,7 @@ import { RbUserSelectorProps } from "./components/DataEntry/UserSelector/type";
20
20
  import RbAttachmentText from "./components/DataEntry/AttachmentText";
21
21
  import { RbAttachmentTextProps } from "./components/DataEntry/AttachmentText/type";
22
22
  import RbPageContainer from "./components/PageLayout/PageContainer";
23
- import { RbPageContainerProps, RbContainerStateProps } from "./components/PageLayout/PageContainer/type";
23
+ import { RbPageContainerProps } from "./components/PageLayout/PageContainer/type";
24
24
  import RbHomePage from "./components/PageLayout/HomePage";
25
25
  import { RbHomePageProps } from "./components/PageLayout/HomePage/type";
26
26
  import { RbMarkdownEditor, RbMarkdownConverter } from "./components/DataEntry/MarkdownEditor";
@@ -84,7 +84,7 @@ export type { RbMarkdownEditorProps };
84
84
  export { RbSingleImageUploader };
85
85
  export type { RbSingleImageUploaderProps };
86
86
  export { RbPageContainer };
87
- export type { RbPageContainerProps, RbContainerStateProps };
87
+ export type { RbPageContainerProps };
88
88
  export { RbHomePage };
89
89
  export type { RbHomePageProps };
90
90
  export { getRbInitialState, getRbAppLayout };