mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-13 20:08:56 +00:00
Added inputs and textarea in signandverify
This commit is contained in:
parent
f8a947e187
commit
0ef3672a54
@ -13,7 +13,7 @@ const Wrapper = styled.div`
|
||||
|
||||
const disabledColor = colors.TEXT_PRIMARY;
|
||||
|
||||
const TextArea = styled.textarea`
|
||||
const StyledTextarea = styled.textarea`
|
||||
width: 100%;
|
||||
padding: 6px 12px;
|
||||
box-sizing: border-box;
|
||||
@ -102,7 +102,7 @@ const Textarea = ({
|
||||
{topLabel && (
|
||||
<TopLabel>{topLabel}</TopLabel>
|
||||
)}
|
||||
<TextArea
|
||||
<StyledTextarea
|
||||
className={className}
|
||||
disabled={isDisabled}
|
||||
style={customStyle}
|
||||
|
@ -1,5 +1,7 @@
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import Input from 'components/inputs/Input';
|
||||
import Textarea from 'components/Textarea';
|
||||
|
||||
import { H2 } from 'components/Heading';
|
||||
import colors from 'config/colors';
|
||||
@ -33,13 +35,6 @@ const Label = styled.div`
|
||||
padding: 5px 0px;
|
||||
`;
|
||||
|
||||
const Textarea = styled.textarea`
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
const Input = styled.input``;
|
||||
|
||||
const AccountSignVerify = () => (
|
||||
<Wrapper>
|
||||
<Sign>
|
||||
|
Loading…
Reference in New Issue
Block a user