diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-11 16:39:05 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-11 16:39:05 +0100 |
| commit | ae27a1eea6805cfff8bbb150e6f394260bc4dd17 (patch) | |
| tree | 9b4f43af76872064a366f82778bac84900900322 /animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js | |
| parent | 51dd8c816e80460b3e3efff433acd0ec5931ba05 (diff) | |
start footnot editor
Diffstat (limited to 'animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js')
| -rw-r--r-- | animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js b/animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js new file mode 100644 index 0000000..3cd909d --- /dev/null +++ b/animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js @@ -0,0 +1,19 @@ +import React, { Component } from 'react' + +export default class FootnoteForm extends Component { + state = { + editing: false, + } + + render() { + const { footnote, index } = this.props + return ( + <div className='footnote-form'> + <div className='footnote-index'> + {index}{'. '} + </div> + <div className='footnote-text' dangerouslySetInnerHTML={{ __html: footnote.text }} /> + </div> + ) + } +} |
