scalajs-react-emoji-mart
Scala.js facade for the react-emoji-mart library.
Setup
SBT
Add these dependencies to your build file:
libraryDependencies ++= Seq(
"com.github.japgolly.scalajs-react" %%% "core" % "1.2.3",
"com.github.japgolly.scalajs-react" %%% "extra" % "1.2.3",
"com.harana" %%% "scalajs-react-emoji-mart" % "1.1.0"
)
The artifacts are published to Sonatype so ensure you have it included:
resolvers += Resolver.sonatypeRepo("releases")
Usage
You will need to include the Emoji-Mart CSS which is included in the demo resources.
Examples:
Emoji(emoji=":santa::skin-tone-3:", size=16)
Emoji(emoji="santa", set="emojione", size=16)
Picker()
Demo
This will start a web server on http://localhost:8080:
sbt
fastOptJS::webpack
demo/compile:fastOptJS::startWebpackDevServer
License
BSD 3
Harana
Harana is an AI-powered data catalog.
It automatically imports metadata from all your favourite tools: Confluence, AWS Glue, Kafka, PostgreSQL, MySQL, Oracle, SQL Server, IBM DB2, SQLite, Hive, CouchDB, MongoDB, HBase, Cassandra, ElasticSearch, DynamoDB, Salesforce, SugarCRM, Excel, CSV, XML, JSON.