import { Input, InputProps, InputRef } from "antd";
import React, { FC, Ref } from "react";
import "./Input.scss";
export interface StarshipInputProps {
    ref?:Ref<InputRef>
}

const StarshipInput: FC<StarshipInputProps & InputProps> = props => {
    const {className,ref, ...InputProps} = props;

    return (
        <Input
            {...InputProps}
            ref={ref}
          className={`starship-Input ${className}`}
        />
    );
};

export default StarshipInput;
