0.0.4 • Published 7 years ago

@pie-libs/feedback-config v0.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

feedback-config

feedback-config is a panel that allows for the editing of feedback properties, for use within PIE configuration panels. It is very much a work in progress.

Usage

Install

npm install --save @pie-libs/feedback-config

Import

import FeedbackConfig from '@pie-libs/feedback-config';

Element

<FeedbackConfig 
  feedback={this.props.model.feedback} 
  onChange={this.onFeedbackChange.bind(this)}
  defaultCorrectFeedback="Correct"
  defaultPartialFeedback="Almost!"
  defaultIncorrectFeedback="Incorrect" />