aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-12-04 04:24:37 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 18:56:11 +0800
commit659ae0dcca070ce771a7329d8b4bc922ed1baf4a (patch)
treec98485a09d9b161edb6a3913d31a30726ecafd54 /packages/website/ts/components
parent7a52168cd819ba50626dc4e1eb001fc1e055c8c3 (diff)
downloaddexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar.gz
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar.bz2
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar.lz
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar.xz
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.tar.zst
dexon-sol-tools-659ae0dcca070ce771a7329d8b4bc922ed1baf4a.zip
feat: implement basic feeRecipient address in config generator
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/ui/input.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/input.tsx b/packages/website/ts/components/ui/input.tsx
index e5f4f6c70..1f56c814f 100644
--- a/packages/website/ts/components/ui/input.tsx
+++ b/packages/website/ts/components/ui/input.tsx
@@ -8,6 +8,7 @@ export interface InputProps {
width?: string;
fontSize?: string;
fontColor?: string;
+ border?: string;
placeholderColor?: string;
placeholder?: string;
backgroundColor?: string;
@@ -23,9 +24,11 @@ export const Input = styled(PlainInput)`
width: ${props => props.width};
padding: 0.8em 1.2em;
border-radius: 3px;
+ box-sizing: border-box;
font-family: 'Roboto Mono';
color: ${props => props.fontColor};
- border: none;
+ border: ${props => props.border};
+ outline: none;
background-color: ${props => props.backgroundColor};
&::placeholder {
color: ${props => props.placeholderColor};
@@ -38,6 +41,7 @@ Input.defaultProps = {
fontColor: colors.darkestGrey,
placeholderColor: colors.darkGrey,
fontSize: '12px',
+ border: 'none',
};
Input.displayName = 'Input';