From 28f0e55475ecac41034e3fac8c48ea0a332d364c Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Wed, 13 May 2020 23:34:12 -0700 Subject: on new paste modal --- frontend/src/components/Inputs.js | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) (limited to 'frontend/src/components/Inputs.js') diff --git a/frontend/src/components/Inputs.js b/frontend/src/components/Inputs.js index da540d0..4bb7b33 100644 --- a/frontend/src/components/Inputs.js +++ b/frontend/src/components/Inputs.js @@ -4,7 +4,7 @@ import styled from 'styled-components' import FloatingLabel from './decorators/FloatingLabel' import Dropdown from 'react-dropdown'; -const CharLimitContainer = styled.div` +const RelPositioning = styled.div` position: relative; ` @@ -16,7 +16,7 @@ const FlexChild = styled.div` class TitleInput extends React.Component { render() { return ( - + - + ); } } @@ -43,7 +43,7 @@ class TitleInput extends React.Component { class PasteInput extends React.Component { render() { return ( - + - + ); } } @@ -69,7 +69,7 @@ class PassInput extends React.Component { render() { return ( - + - + ); } @@ -127,4 +127,27 @@ class ExpiryInput extends React.Component { } } -export { TitleInput, PasteInput, PassInput, ExpiryInput } \ No newline at end of file +class PasteURLInput extends React.Component { + render() { + return ( + + + + + + + ); + } +} + +export { TitleInput, PasteInput, PassInput, ExpiryInput, PasteURLInput } \ No newline at end of file -- cgit v1.2.3