🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@ecoding/components.antd.layout

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecoding/components.antd.layout - npm Package Compare versions

Comparing version
0.0.27
to
0.0.28
+1
-0
lib/core/tip/index.d.ts

@@ -5,2 +5,3 @@ import React from "react";

sTitle?: React.ReactNode;
addAfter?: React.ReactNode;
style?: React.CSSProperties;

@@ -7,0 +8,0 @@ boxStyle?: React.CSSProperties;

+7
-2
import React from "react";
import { Space, Divider, Typography } from "antd";
const Tip = ({ theme, style, title, sTitle, children, boxStyle, wrapStyle }) => {
const Tip = ({ theme, style, title, sTitle, children, boxStyle, wrapStyle, addAfter }) => {
const TitleWrap = Object.assign({

@@ -25,5 +25,10 @@ position: "relative",

React.createElement(Typography.Title, { level: 5, style: { marginBottom: 0 } }, title),
React.createElement(Typography.Text, { type: "secondary" }, sTitle)))) : null,
typeof sTitle === "string" ? React.createElement(Typography.Text, { type: "secondary" }, sTitle) : sTitle),
addAfter ? (React.createElement("div", { style: {
position: "absolute",
top: "50%",
transform: "translateY(-50%)"
} }, addAfter)) : null)) : null,
React.createElement(Space, { size: 0, style: { marginTop: "10px" }, direction: "vertical" }, children)));
};
export default Tip;
{
"name": "@ecoding/components.antd.layout",
"version": "0.0.27",
"version": "0.0.28",
"author": "cxc",

@@ -26,3 +26,3 @@ "homepage": "",

},
"gitHead": "7cc66340e90ece146de9b3bcc915321b80924e90"
"gitHead": "e9fd11eb73630ed175e89ada978a9ef464859305"
}