mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
chore(dependencies): Cleaned up dependencies/package.json
This commit is contained in:
1 parent
13cd6b6f97
commit
187e534e08
5 files changed
+217
-137
No files matched your search
@@ -1,24 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Input = styled('input')`
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
border: none;
|
||||
font-size: 20px;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
margin-bottom: 1em;
|
||||
border-bottom: 1px solid #fff;
|
||||
`;
|
||||
|
||||
export const TextInput = (props) => (
|
||||
<Input
|
||||
placeholder={props.placeholder}
|
||||
type={props.type}
|
||||
defaultValue={props.value}
|
||||
onChange={props.onChange}
|
||||
/>
|
||||
);
|
||||
Reference in new issue
Block a user