diff options
| author | Ryan Mehri <[email protected]> | 2020-05-12 09:29:49 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-12 09:29:49 -0600 |
| commit | c0fc08d77570232cfda3f6e2bdbac2c3bf1aafeb (patch) | |
| tree | 9463f3be987993bda22ef4bfc3a56c9174fceee8 /frontend/src/components/Inputs.js | |
| parent | Merge pull request #17 from jackyzha0/password (diff) | |
| parent | working no pass rendering (diff) | |
| download | ctrl-v-c0fc08d77570232cfda3f6e2bdbac2c3bf1aafeb.tar.xz ctrl-v-c0fc08d77570232cfda3f6e2bdbac2c3bf1aafeb.zip | |
Merge pull request #18 from jackyzha0/no-pass-rendering
no password paste rendering
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} |