focus-components-v3
Version:
Focus web components to build applications (based on Material Design)
17 lines (15 loc) • 505 B
JavaScript
import React, {PropTypes} from 'react';
function AutocompleteTextConsult({label, name, type, formattedInputValue}) {
return (
<div label={label} name={name} type={type}>
{formattedInputValue}
</div>
);
}
AutocompleteTextConsult.propTypes = {
formattedInputValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
label: PropTypes.string,
name: PropTypes.string,
type: PropTypes.string
}
export default AutocompleteTextConsult;