blob: c7bfbbe05f8a70f3d071dca0ee7f9936a0ca29bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import React from 'react';
import PropTypes from 'prop-types';
import s0 from './Input.module.css';
export default function Input(props) {
return <input className={s0.input} {...props} />;
}
Input.propTypes = {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
type: PropTypes.string,
onChange: PropTypes.func,
name: PropTypes.string,
placeholder: PropTypes.string
};
|