This repository was archived by the owner on Sep 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed
Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -80,4 +80,44 @@ Will be `true` if the picker is currently visible, and `false` if not.
8080
8181Adds an event listener. Currently there is only one event:
8282
83- * ` emoji ` : Fired when an emoji is picked. The callback is called with a single argument, the emoji character that was picked.
83+ * ` emoji ` : Fired when an emoji is picked. The callback is called with a single argument, the emoji character that was picked.
84+
85+ ## Development
86+
87+ The easiest way to hack on Emoji Button is to use the examples page.
88+
89+ ### Clone the repository
90+
91+ git clone https://github.com/joeattardi/emoji-button.git
92+
93+ ### From the repository root
94+
95+ #### Install dependencies
96+
97+ npm install
98+
99+ #### Set up the link
100+
101+ npm link
102+
103+ #### Start the build/watch loop
104+
105+ npm run build:watch
106+
107+ ### From the ` examples ` subdirectory
108+
109+ #### Install dependencies
110+
111+ npm install
112+
113+ #### Link the library
114+
115+ npm link emoji-button
116+
117+ #### Start the dev server
118+
119+ npm start
120+
121+ ### Open the page
122+
123+ http://localhost:5000
You can’t perform that action at this time.
0 commit comments