diff options
| author | jackyzha0 <[email protected]> | 2021-03-05 23:12:28 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-05 23:12:28 -0800 |
| commit | 7a671bc96ef06df3da3d2dce3caca559f32c6627 (patch) | |
| tree | 9af8330b8a8dd2a84f07d8c8d75a6245ce84b2dc /frontend/src/components/Inputs/Text.js | |
| parent | refactoring css (diff) | |
| download | ctrl-v-7a671bc96ef06df3da3d2dce3caca559f32c6627.tar.xz ctrl-v-7a671bc96ef06df3da3d2dce3caca559f32c6627.zip | |
text area styling
Diffstat (limited to 'frontend/src/components/Inputs/Text.js')
| -rw-r--r-- | frontend/src/components/Inputs/Text.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/components/Inputs/Text.js b/frontend/src/components/Inputs/Text.js index 866da91..0a26d42 100644 --- a/frontend/src/components/Inputs/Text.js +++ b/frontend/src/components/Inputs/Text.js @@ -1,15 +1,15 @@ import CharLimit from "../decorators/CharLimit"; import React from "react"; import {Labelled} from "./shared"; +import {Input} from "../Form/Input"; export const Text = React.forwardRef(({label, id, readOnly, onChange, value, maxLength, autoFocus}, ref) => { return ( <Labelled label={label} value={value}> - <input + <Input ref={ref} name={label} readOnly={readOnly} - className="lt-shadow" placeholder="Title" id={id} type="text" |