New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fruits-chain/dashu-bottom-bar-pro

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fruits-chain/dashu-bottom-bar-pro - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

8

dist/commonjs/button-box.js

@@ -21,2 +21,3 @@ "use strict";

buttons,
reverse = true,
mode = "normal"

@@ -70,3 +71,8 @@ } = _ref;

const buttonListRender = () => {
return showButtons.reverse().map((b, index) => {
const sortButtons = reverse ? showButtons.reverse() : showButtons;
return sortButtons.map((b, index) => {
if (typeof (b === null || b === void 0 ? void 0 : b.render) === "function") {
var _b$render;
return b === null || b === void 0 ? void 0 : (_b$render = b.render) === null || _b$render === void 0 ? void 0 : _b$render.call(b);
}
const gapStyle = index === (showButtons === null || showButtons === void 0 ? void 0 : showButtons.length) - 1 ? {} : {

@@ -73,0 +79,0 @@ marginRight: defaultGap

@@ -12,2 +12,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

buttons,
reverse = true,
mode = "normal"

@@ -61,3 +62,8 @@ } = _ref;

const buttonListRender = () => {
return showButtons.reverse().map((b, index) => {
const sortButtons = reverse ? showButtons.reverse() : showButtons;
return sortButtons.map((b, index) => {
if (typeof (b === null || b === void 0 ? void 0 : b.render) === "function") {
var _b$render;
return b === null || b === void 0 ? void 0 : (_b$render = b.render) === null || _b$render === void 0 ? void 0 : _b$render.call(b);
}
const gapStyle = index === (showButtons === null || showButtons === void 0 ? void 0 : showButtons.length) - 1 ? {} : {

@@ -64,0 +70,0 @@ marginRight: defaultGap

import type { ButtonProps } from "@fruits-chain/react-native-xiaoshu";
import type { FC } from "react";
import React from "react";
import type { StyleProp, ViewStyle } from "react-native";

@@ -13,3 +14,6 @@ export interface ButtonBoxProps {

onPress?: () => void;
render?: () => React.ReactNode;
})[];
/** 是否反序 */
reverse?: boolean;
/**

@@ -16,0 +20,0 @@ * 模式:normal(普通模式,有多少内容都展示)|ellipsis(省略模式,超出屏幕的按钮就在ActionSheet展示)

2

package.json
{
"name": "@fruits-chain/dashu-bottom-bar-pro",
"version": "0.0.4",
"version": "0.0.5",
"main": "dist/commonjs/index.js",

@@ -5,0 +5,0 @@ "module": "dist/module/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc