From cda9c115283be8e4e224f6036ba07e5eca243289 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 31 Mar 2021 17:37:40 +0200 Subject: refactor tile forms into own files. add full-width marquee support --- .../app/views/tile/forms/tile.form.element.text.js | 166 +++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 frontend/app/views/tile/forms/tile.form.element.text.js (limited to 'frontend/app/views/tile/forms/tile.form.element.text.js') diff --git a/frontend/app/views/tile/forms/tile.form.element.text.js b/frontend/app/views/tile/forms/tile.form.element.text.js new file mode 100644 index 0000000..425a605 --- /dev/null +++ b/frontend/app/views/tile/forms/tile.form.element.text.js @@ -0,0 +1,166 @@ +import React from 'react' + +import { + NumberInput, ColorInput, + Select, TextArea, Checkbox +} from 'app/common' + +import { TEXT_FONT_FAMILIES, TEXT_FONT_STYLES, MARQUEE_DIRECTIONS } from './tile.constants' + +export default function TileTextForm({ tile, errorFields, parent }) { + return ( +
+