@bxreact/button
Advanced tools
+3
-2
@@ -194,3 +194,4 @@ // src/index.tsx | ||
| loading, | ||
| type | ||
| type, | ||
| target | ||
| }) { | ||
@@ -232,3 +233,3 @@ const Type = href ? "a" : "button"; | ||
| href, | ||
| target: open ? "_blank" : null, | ||
| target: open ? "_blank" : target, | ||
| disabled, | ||
@@ -235,0 +236,0 @@ style, |
+1
-1
| { | ||
| "name": "@bxreact/button", | ||
| "version": "2.3.1", | ||
| "version": "2.4.0", | ||
| "publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
+3
-1
@@ -9,2 +9,3 @@ import "@bxreact/theme"; | ||
| open?: boolean; | ||
| target?: "_blank" | "_parent"; | ||
| type?: "submit" | "reset" | "button"; | ||
@@ -44,2 +45,3 @@ disabled?: boolean; | ||
| type, | ||
| target, | ||
| }: Props): JSX.Element { | ||
@@ -93,3 +95,3 @@ const Type = href ? "a" : "button"; | ||
| href={href} | ||
| target={open ? "_blank" : null} | ||
| target={open ? "_blank" : target} | ||
| disabled={disabled} | ||
@@ -96,0 +98,0 @@ style={style} |
+2
-1
@@ -8,2 +8,3 @@ import "@bxreact/theme"; | ||
| open?: boolean; | ||
| target?: "_blank" | "_parent"; | ||
| type?: "submit" | "reset" | "button"; | ||
@@ -24,3 +25,3 @@ disabled?: boolean; | ||
| } | ||
| export declare function Button({ onClick, preventDefault, disabled, href, open, children, size, thead, status, icon, wrap, badge, color, bgcolor, outline, loading, type, }: Props): JSX.Element; | ||
| export declare function Button({ onClick, preventDefault, disabled, href, open, children, size, thead, status, icon, wrap, badge, color, bgcolor, outline, loading, type, target, }: Props): JSX.Element; | ||
| export {}; |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
15568
0.68%497
0.81%