summaryrefslogtreecommitdiff
path: root/frontend/app/views/tile/forms/tile.form.element.text.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/views/tile/forms/tile.form.element.text.js')
-rw-r--r--frontend/app/views/tile/forms/tile.form.element.text.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/views/tile/forms/tile.form.element.text.js b/frontend/app/views/tile/forms/tile.form.element.text.js
index 425a605..7fd625a 100644
--- a/frontend/app/views/tile/forms/tile.form.element.text.js
+++ b/frontend/app/views/tile/forms/tile.form.element.text.js
@@ -5,9 +5,9 @@ import {
Select, TextArea, Checkbox
} from 'app/common'
-import { TEXT_FONT_FAMILIES, TEXT_FONT_STYLES, MARQUEE_DIRECTIONS } from './tile.constants'
+import { TEXT_FONT_STYLES, MARQUEE_DIRECTIONS } from './tile.constants'
-export default function TileTextForm({ tile, errorFields, parent }) {
+export default function TileTextForm({ tile, errorFields, parent, fontFamilies }) {
return (
<div>
<TextArea
@@ -24,7 +24,7 @@ export default function TileTextForm({ tile, errorFields, parent }) {
title="Font"
name='font_family'
selected={tile.settings.font_family || 'sans-serif'}
- options={TEXT_FONT_FAMILIES}
+ options={fontFamilies}
onChange={parent.handleSettingsSelect}
/>
<NumberInput