aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs
diff options
context:
space:
mode:
authorJacky Zhao <[email protected]>2021-04-14 10:09:04 -0700
committerGitHub <[email protected]>2021-04-14 10:09:04 -0700
commitd271a7399c814e14e308c832ab2c2202f06e5c90 (patch)
treef08a0b5e38d2db739f8ce95cbeda065e2a0b0322 /frontend/src/components/Inputs
parentMerge pull request #78 from Siddhant-K-code/master (diff)
parentAdded Requested CSS chnages to fix textBox (diff)
downloadctrl-v-d271a7399c814e14e308c832ab2c2202f06e5c90.tar.xz
ctrl-v-d271a7399c814e14e308c832ab2c2202f06e5c90.zip
Merge pull request #80 from Siddhant-K-code/master
Diffstat (limited to 'frontend/src/components/Inputs')
-rw-r--r--frontend/src/components/Inputs/Password.js27
1 files changed, 15 insertions, 12 deletions
diff --git a/frontend/src/components/Inputs/Password.js b/frontend/src/components/Inputs/Password.js
index 099aae4..c242b45 100644
--- a/frontend/src/components/Inputs/Password.js
+++ b/frontend/src/components/Inputs/Password.js
@@ -1,14 +1,17 @@
import React from "react";
-import {Labelled} from "../decorators/Labelled";
-import {Input} from "../Common/Input";
+import { Labelled } from "../decorators/Labelled";
+import { Input } from "../Common/Input";
-export const Password = (props) => <Labelled label="password">
- <Input
- name="pass"
- placeholder={props.placeholder ?? "add password"}
- type="password"
- autoComplete="off"
- onChange={props.onChange}
- value={props.value}
- id={props.id} />
-</Labelled> \ No newline at end of file
+export const Password = (props) => (
+ <Labelled label="password">
+ <Input
+ name="pass"
+ placeholder={props.placeholder ?? "add password"}
+ type="password"
+ autoComplete="off"
+ onChange={props.onChange}
+ value={props.value}
+ id={props.id}
+ />
+ </Labelled>
+);