PATH:
home
/
lab2454c
/
gemition.com
/
wp-content
/
plugins
/
woocommerce-ajax-filters
/
includes
/
divi
/
fields
/
Input
// External Dependencies import React, { Component } from 'react'; // Internal Dependencies import './style.css'; class Input extends Component { static slug = 'myex_input'; /** * Handle input value change. * * @param {object} event */ _onChange = (event) => { this.props._onChange(this.props.name, event.target.value); } render() { return( <input id={`myex-input-${this.props.name}`} name={this.props.name} value={this.props.value} type='text' className='myex-input' onChange={this._onChange} placeholder='Your text here ...' /> ); } } export default Input;
[+]
..
[-] style.css
[edit]
[-] Input.jsx
[edit]