aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-06 16:32:09 -0800
committerjackyzha0 <[email protected]>2021-03-06 16:32:09 -0800
commit75e8bdd2d4cdaefe28ed40a7735c993f98d15754 (patch)
tree1b84a2222a11332075dc5de4405cd9d9e86193a5 /frontend/src/components/Inputs
parentpaste modal fixes (diff)
downloadctrl-v-75e8bdd2d4cdaefe28ed40a7735c993f98d15754.tar.xz
ctrl-v-75e8bdd2d4cdaefe28ed40a7735c993f98d15754.zip
refactor form -> common
Diffstat (limited to 'frontend/src/components/Inputs')
-rw-r--r--frontend/src/components/Inputs/Code.js2
-rw-r--r--frontend/src/components/Inputs/Dropdown.js2
-rw-r--r--frontend/src/components/Inputs/Password.js2
-rw-r--r--frontend/src/components/Inputs/Text.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/components/Inputs/Code.js b/frontend/src/components/Inputs/Code.js
index 0767808..adb1536 100644
--- a/frontend/src/components/Inputs/Code.js
+++ b/frontend/src/components/Inputs/Code.js
@@ -3,7 +3,7 @@ import styled from 'styled-components'
import CharLimit from "../decorators/CharLimit";
import Editor from 'react-simple-code-editor';
import {Highlighter} from "../renderers/Code";
-import {CodeLike, Hover} from "../Form/mixins";
+import {CodeLike, Hover} from "../Common/mixins";
const Wrapper = styled.div`
position: relative;
diff --git a/frontend/src/components/Inputs/Dropdown.js b/frontend/src/components/Inputs/Dropdown.js
index 27106dc..7166681 100644
--- a/frontend/src/components/Inputs/Dropdown.js
+++ b/frontend/src/components/Inputs/Dropdown.js
@@ -3,7 +3,7 @@ import React from "react";
import styled from 'styled-components';
import {LANGS, THEMES} from "../renderers/Code";
import {Labelled} from "../decorators/Labelled";
-import {Border, DropShadow, InputLike, Rounded} from "../Form/mixins";
+import {Border, DropShadow, InputLike, Rounded} from "../Common/mixins";
const StyledDropdown = styled(Dropdown)`
${Border}
diff --git a/frontend/src/components/Inputs/Password.js b/frontend/src/components/Inputs/Password.js
index 6394dd2..6877574 100644
--- a/frontend/src/components/Inputs/Password.js
+++ b/frontend/src/components/Inputs/Password.js
@@ -1,6 +1,6 @@
import React from "react";
import {Labelled} from "../decorators/Labelled";
-import {Input} from "../Form/Input";
+import {Input} from "../Common/Input";
export const Password = (props) => <Labelled label="password">
<Input
diff --git a/frontend/src/components/Inputs/Text.js b/frontend/src/components/Inputs/Text.js
index 514ab78..600e653 100644
--- a/frontend/src/components/Inputs/Text.js
+++ b/frontend/src/components/Inputs/Text.js
@@ -1,7 +1,7 @@
import CharLimit from "../decorators/CharLimit";
import React from "react";
import {Labelled} from "../decorators/Labelled";
-import {Input} from "../Form/Input";
+import {Input} from "../Common/Input";
export const Text = React.forwardRef(({label, id, readOnly, onChange, value, maxLength, autoFocus}, ref) => {
return (