import React, { TextareaHTMLAttributes, ForwardRefRenderFunction } from 'react'; import { getSystemStyle, SystemProps } from '../utils/systemProps'; import inputElStyle from '../utils/inputElementStyle'; interface InputProps extends React.InputHTMLAttributes, SystemProps { } const Input: ForwardRefRenderFunction = ({ style, ...props }, ref) => { style = { ...inputElStyle, ...style, }; const systemStyle = getSystemStyle(props, style); return ; }; export default React.forwardRef(Input);