summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/footnotes/components
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/editor/footnotes/components')
-rw-r--r--animism-align/frontend/app/views/editor/footnotes/components/footnote.form.js19
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>
+ )
+ }
+}