diff options
Diffstat (limited to 'frontend/src/components/Inputs.js')
| -rw-r--r-- | frontend/src/components/Inputs.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/components/Inputs.js b/frontend/src/components/Inputs.js index 110d5bd..b61869f 100644 --- a/frontend/src/components/Inputs.js +++ b/frontend/src/components/Inputs.js @@ -1,7 +1,7 @@ import React from 'react'; -import CharLimit from './CharLimit' +import CharLimit from './decorators/CharLimit' import styled from 'styled-components' -import FloatingLabel from './FloatingLabel' +import FloatingLabel from './decorators/FloatingLabel' import Dropdown from 'react-dropdown'; const CharLimitContainer = styled.div` @@ -23,6 +23,7 @@ class TitleInput extends React.Component { value={this.props.value} /> <input name="title" + readOnly={this.props.readOnly} className="lt-shadow" placeholder="Title" id={this.props.id} @@ -49,6 +50,7 @@ class PasteInput extends React.Component { value={this.props.content} /> <textarea name="content" + readOnly={this.props.readOnly} placeholder="Paste your text here" value={this.props.content} id={this.props.id} |