{"size": 566, "ext": "js", "max_stars_repo_path": "src/components/Reusable/InputFields/ReviewFormInput.js", "max_stars_repo_name": "noahfranco/allay-fe", "max_stars_repo_stars_event_min_datetime": "2020-05-15T14:03:37.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-15T14:03:37.000Z", "max_issues_repo_path": "src/components/Reusable/InputFields/ReviewFormInput.js", "max_issues_repo_name": "Playtez/allay-fe", "max_issues_repo_issues_event_min_datetime": "2020-02-29T15:04:53.000Z", "max_issues_repo_issues_event_max_datetime": "2020-05-28T22:11:54.000Z", "max_forks_repo_path": "src/components/Reusable/InputFields/ReviewFormInput.js", "max_forks_repo_name": "Playtez/allay-fe", "max_forks_repo_forks_event_min_datetime": "2020-04-05T17:55:16.000Z", "max_forks_repo_forks_event_max_datetime": "2020-08-25T21:18:22.000Z"}
{"max_stars_count": 1, "max_issues_count": 19, "max_forks_count": 9, "avg_line_length": 19.5172413793, "max_line_length": 65, "alphanum_fraction": 0.628975265}
import React from 'react';
import { Input } from '@chakra-ui/core';

const ReviewFormInput = React.forwardRef(({ ...props }, ref) => {
	return (
		<Input
			h='56px'
			mb='6'
			mr={props.mr}
			w={props.w}
			variant='filled'
			rounded='6px'
			label={props.label}
			list={props.list}
			type={props.type ? props.type : 'text'}
			name={props.name}
			placeholder={props.placeholder}
			ref={ref}
			autoCapitalize='none'
			min={props.min}
			max={props.max}
			onChange={props.onChange}
			onKeyUp={props.onKeyUp}
		/>
	);
});

export default ReviewFormInput;
