thank-you-tweet-button-001
Advanced tools
Comparing version 1.0.1 to 1.1.0
import React from "react"; | ||
import "../index.css"; | ||
export default function TweetButton(): React.JSX.Element; | ||
interface TweetButtonPropsType { | ||
number?: number; | ||
} | ||
export default function TweetButton(props: TweetButtonPropsType): React.JSX.Element; | ||
export {}; |
@@ -8,4 +8,4 @@ "use strict"; | ||
require("../index.css"); | ||
function TweetButton() { | ||
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+an+NPM+package.%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF"; | ||
function TweetButton(props) { | ||
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF"); | ||
return (react_1.default.createElement("section", { className: "tweet-btn-container" }, | ||
@@ -12,0 +12,0 @@ react_1.default.createElement("a", { className: "tweet-button", href: tweetURL, target: "_blank" }, "Send a thank you tweet"))); |
import React from "react"; | ||
import "../index.css"; | ||
export default function TweetButton(): React.JSX.Element; | ||
interface TweetButtonPropsType { | ||
number?: number; | ||
} | ||
export default function TweetButton(props: TweetButtonPropsType): React.JSX.Element; | ||
export {}; |
import React from "react"; | ||
import "../index.css"; | ||
export default function TweetButton() { | ||
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+an+NPM+package.%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF"; | ||
export default function TweetButton(props) { | ||
var tweetURL = "https://twitter.com/intent/tweet?text=Thank+you,+%40oluwatobiss.+Your+book+helped+me+create,+test,+and+publish+".concat(props.number && props.number > 1 ? props.number : "an", "+NPM+").concat(props.number && props.number > 1 ? "packages" : "package", ".%0A%0ACreating%20NPM%20Package:%20React%20TypeScript%20Guide%0A%0Ahttps%3A%2F%2Famzn.to/3qxnEdF"); | ||
return (React.createElement("section", { className: "tweet-btn-container" }, | ||
React.createElement("a", { className: "tweet-button", href: tweetURL, target: "_blank" }, "Send a thank you tweet"))); | ||
} |
{ | ||
"name": "thank-you-tweet-button-001", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Easy-to-use tweet button for saying thank you to @oluwatobiss.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/TweetButton.js", |
@@ -17,3 +17,3 @@ > **Note** | ||
https://codesweetly.com/ | ||
https://test-app-for-thank-you-tweet-button-001.vercel.app | ||
@@ -20,0 +20,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6228
57