瀏覽代碼

Merge branch 'release/1.0.0-pre-alpha.60'

lfabl 1 月之前
父節點
當前提交
930e9c0f01
共有 3 個文件被更改,包括 6 次插入1 次删除
  1. 1 1
      package.json
  2. 3 0
      src/components/menu/index.tsx
  3. 2 0
      src/components/menu/type.ts

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
     "name": "ncore-ui-kit",
-    "version": "1.0.0-pre-alpha.59",
+    "version": "1.0.0-pre-alpha.60",
     "description": "NİBGAT® | NCore - UI Kit for React-Native Mobile Apps.",
     "main": "./lib/module/index.js",
     "types": "./lib/typescript/src/index.d.ts",

+ 3 - 0
src/components/menu/index.tsx

@@ -52,6 +52,7 @@ const Menu: RefForwardingComponent<IMenuRef, IMenuProps> = ({
     customBackgroundColor,
     close: closeAction,
     glassEffect = 0,
+    seperatorProps,
     siteLogoProps,
     customTheme,
     navigation,
@@ -283,7 +284,9 @@ const Menu: RefForwardingComponent<IMenuRef, IMenuProps> = ({
                 {...siteLogoProps}
             />
             <Seperator
+                {...seperatorProps}
                 style={[
+                    seperatorProps?.style,
                     stylesheet.seperator,
                     seperatorDynamicStyle
                 ]}

+ 2 - 0
src/components/menu/type.ts

@@ -10,6 +10,7 @@ import type {
 import type {
     NCoreUIKitIcon
 } from "../../types";
+import type ISeperatorProps from "../seperator/type";
 import type ISiteLogoProps from "../siteLogo/type";
 import type IRowCardProps from "../rowCard/type";
 import type IModalProps from "../modal/type";
@@ -55,6 +56,7 @@ interface IMenuProps {
     };
     navigation: NCoreUIKit.Navigation;
     isWorkWithSafeAreaView?: boolean;
+    seperatorProps?: ISeperatorProps;
     customBackgroundColor?: string;
     isAutoClosedOnClosed?: boolean;
     siteLogoProps?: ISiteLogoProps;