Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goktugyalcin/emoji-button-discord
A button inspired by Discord's emoji button with React.js
https://github.com/goktugyalcin/emoji-button-discord
Last synced: about 1 month ago
JSON representation
A button inspired by Discord's emoji button with React.js
- Host: GitHub
- URL: https://github.com/goktugyalcin/emoji-button-discord
- Owner: GoktugYalcin
- License: mit
- Created: 2021-12-02T19:51:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T20:08:38.000Z (about 3 years ago)
- Last Synced: 2024-10-07T22:38:10.249Z (3 months ago)
- Language: HTML
- Size: 202 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# emoji-button-discord
> A button component made with create-react-library
[![NPM](https://img.shields.io/npm/v/emoji-button.svg)](https://www.npmjs.com/package/emoji-button-discord) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Install
```bash
npm install --save emoji-button-discord
```## Props
- **disabled** - This state activates/disables disable state.
- **customEmoji** - A emoji can initialize as static.
- **customClass** - Custom CSS class can be given.
- **onClick** - onClick event handler.
- **text** - A text or prompt on right side of emoji button.
- **customContainer** - Custom CSS class for wrapper container.## Usage
```jsx
import React, { Component } from 'react'import EmojiButton from 'emoji-button-discord'
import 'emoji-button/dist/index.css'class Example extends Component {
render() {
return
}
}
```## License
MIT © [](https://github.com/)