0.1.2 • Published 11 months ago
@scom/scom-voting v0.1.2
Scom Voting Widget
The Scom Voting Widget is a component designed to facilitate voting functionality within your application.
Features
- Easy integration with existing applications
- Customizable voting options
- Real-time vote counting and display
Installation
Step 1: Install packages
docker-compose up installStep 2: Build and bundle library
docker-compose up buildRunning Tests
Step 3: Install packages for testing
docker-compose up installTestStep 4: Build and bundle library for testing
docker-compose up testAccessing the Dev Server
Access the dev server via http://127.0.0.1:8088/
Usage
To use the Scom Voting Widget in your project, import it and include it in your component as follows:
render() {
return (
<i-panel>
<i-scom-voting
id="scomVoting"
onButtonClicked={this.onButtonClicked}
/>
</i-panel>
)
}