/** * External dependencies */ import { __ } from '@wordpress/i18n'; import PropTypes from 'prop-types'; import { Fragment } from '@wordpress/element'; const PriceInput = ( { disabled, onBlur, onChange, minPrice, maxPrice } ) => { return ( ); }; PriceInput.propTypes = { /** * Is the text input disabled? */ disabled: PropTypes.bool, /** * Callback fired on input. */ onBlur: PropTypes.func, /** * Callback fired on input. */ onChange: PropTypes.func, /** * Min price to display. This is a string because it contains currency e.g. $10.00. */ minPrice: PropTypes.string.isRequired, /** * Max price to display. This is a string because it contains currency e.g. $10.00. */ maxPrice: PropTypes.string.isRequired, }; PriceInput.defaultProps = { disabled: false, onBlur: () => {}, onChange: () => {}, }; export default PriceInput;