summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/common/form.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/common/form.component.js')
-rw-r--r--animism-align/frontend/app/common/form.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/animism-align/frontend/app/common/form.component.js b/animism-align/frontend/app/common/form.component.js
index c727544..3b55162 100644
--- a/animism-align/frontend/app/common/form.component.js
+++ b/animism-align/frontend/app/common/form.component.js
@@ -2,7 +2,7 @@ import React, { Component } from 'react'
import { courtesyS } from 'app/utils'
export const TextInput = props => (
- <label className={props.error ? 'error' : 'text'}>
+ <label className={(props.error ? 'error' : 'text') + (props.className ? ' ' + props.className : '')}>
{props.title && <span>{props.title}</span>}
<input
type="text"