1.0.1 • Published 3 years ago

react-openpoetry v1.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

react-openpoetry

A simple React Component for practicing/learning a poem easier for students and anyone.

NPM JavaScript Style Guide

Install

npm install --save react-openpoetry

Usage

import React, { Component } from 'react'

import MyComponent from 'react-openpoetry'
import 'react-openpoetry/dist/index.css'

class Example extends Component {
  render() {
    return (
      <OpenPoetry 
        name="OpenPoetry" 
        slogan="Write down the poem to memorize easier." 
        heading1="Add the poem you are about to learn/practice." 
        helper="Try to split the poem for each verse."
        nextButton="Next"
        heading2="Practice to write it down."
        hintText="Poem hint"
        hintButton="Show/hide hint"
        showHintOnStart={true}
      />
    )
  }
}

License

GPL-3.0 © Milan Zeisler