import React from "react";
import {DatePicker} from "antd";
import "./RangePicker.scss";

const {RangePicker} = DatePicker;
import {RangePickerProps} from "antd/es/date-picker";

const StarshipRangePicker = (props: RangePickerProps) => {
    const {className, dropdownClassName, ...restProps} = props;
    return (
        <RangePicker
            {...restProps}
            className={`${className} starship-range-picker`}
            dropdownClassName={`${dropdownClassName} starship-range-picker-dropdown`}
        />
    );
};

export default StarshipRangePicker;
