Sha256: 86ece4caa2e70f631eb609d09b12acf8c67de42d85dc4fe0736a624f14c0e04c
Contents?: true
Size: 339 Bytes
Versions: 74
Compression:
Stored size: 339 Bytes
Contents
import React from 'react'; import PropTypes from 'prop-types'; const SearchBar = ({ onChange }) => ( <input className="foreman-search" onChange={onChange} placeholder="Filter..." /> ); export default SearchBar; SearchBar.propTypes = { onChange: PropTypes.func, }; SearchBar.defaultProps = { onChange: () => null, };
Version data entries
74 entries across 74 versions & 1 rubygems