react-openpoetry

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-openpoetry

Weekly Downloads

3

Version

1.0.1

License

GPL-3.0

Unpacked Size

37.8 kB

Total Files

7

Last publish

Collaborators

  • milanzeisler