Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 982 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 982 Bytes

emoji-button-discord

A button component made with create-react-library

NPM JavaScript Style Guide

Install

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

import React, { Component } from 'react'

import EmojiButton from 'emoji-button-discord'
import 'emoji-button/dist/index.css'

class Example extends Component {
  render() {
    return <EmojiButton />
  }
}

License

MIT ©