📂 FileMgr
📍
/home/coemyoza/public_html/wp-content/plugins/give/src/Views/Components/Input
✏️ Edit File: /home/coemyoza/public_html/wp-content/plugins/give/src/Views/Components/Input/index.js
⬅ Kembali
import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './style.module.scss'; const Input = ({type, name, onChange, value, className, ...rest}) => { return ( <input key={value} className={classNames(styles.input, className)} type={type} name={name} onChange={onChange} value={value} {...rest} /> ); }; Input.propTypes = { // Input type type: PropTypes.string.isRequired, // On change event onChange: PropTypes.func, // Input value value: PropTypes.string, }; export default Input;
💾 Simpan File
Batal
⬅ Naik ke Components
2 item
Nama
Tipe
Ukuran
Diubah
Aksi
📜
index.js
js
653 B
2022-11-29 18:00
✏️ Edit
👁️ View
🗑 Hapus
📄
style.module.scss
scss
365 B
2022-11-29 18:00
✏️ Edit
👁️ View
🗑 Hapus