thank-you-tweet-button-012
v3.0.3
Published
Easy-to-use tweet button for saying thank you to @oluwatobiss.
Downloads
804
Maintainers
Readme
Note
This package is a project in the Creating NPM Package book.
Thank You Tweet Button 001
An easy-to-use tweet button for saying thank you to @oluwatobiss.
This button auto-fills your tweet pop-up modal with a nicely worded thank you message.
Features
- A button that posts a thank you message
Live Demo
https://codesweetly.com
Installation
This section shows how to install the Thank You Tweet Button 001 package.
Using npm
``` npm install thank-you-tweet-button-001 ```
Using yarn
``` yarn add thank-you-tweet-button-001 ```
Using pnpm
``` pnpm add thank-you-tweet-button-001 ```
Usage
First, import the library's stylesheet. Then, import and use the components as shown below:
```js import "thank-you-tweet-button-001/index.css"; import { TweetButton } from "thank-you-tweet-button-001";
function App() { return ; } ```
Why import the stylesheet?
The components rely on predefined CSS classes for styling. Importing the stylesheet once ensures consistent application of these styles across all components.
