From 778380446d278adf45a9491b699b7e324d9edb8c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 28 Jul 2020 14:11:46 +0200 Subject: setting things as hidden --- .../annotations/annotationForms/annotationForm.text.js | 16 ++++++++++++++++ .../components/annotations/annotationForms/index.js | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.text.js (limited to 'animism-align/frontend/app/views/align/components/annotations/annotationForms') diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.text.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.text.js new file mode 100644 index 0000000..a632e70 --- /dev/null +++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.text.js @@ -0,0 +1,16 @@ +import React, { Component } from 'react' + +import { Select, Checkbox } from 'app/common' + +export const AnnotationFormSectionHeading = ({ annotation, handleSettingsSelect, handleSettingsChange }) => { + return ( +
+ +
+ ) +} diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/index.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/index.js index 29f9def..0b36d9a 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/index.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/index.js @@ -1,3 +1,7 @@ +import { + AnnotationFormSectionHeading, +} from './annotationForm.text' + import { AnnotationFormVideo, } from './annotationForm.video' @@ -11,6 +15,7 @@ import { } from './annotationForm.utility' export const annotationFormLookup = { + section_heading: AnnotationFormSectionHeading, image: AnnotationFormImage, video: AnnotationFormVideo, curtain: AnnotationFormCurtain, -- cgit v1.2.3-70-g09d2