blob: f621b4322eb3c587dd12514bdafa0157fbb6db68 (
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.scss';
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
};
|