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