0.1.2 • Published 11 months ago

@scom/scom-voting v0.1.2

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

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 install

Step 2: Build and bundle library

docker-compose up build

Running Tests

Step 3: Install packages for testing

docker-compose up installTest

Step 4: Build and bundle library for testing

docker-compose up test

Accessing 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>
    )
}
0.1.2

11 months ago

0.1.1

1 year ago