import React from "react";
import PropTypes from "prop-types";
import { ContinuousLegend } from "@emerson-eps/color-tables";
const ContinuousLegendWrapper = ({ title, min, max, position, colorName, horizontal, colorTables, }) => {
    return (React.createElement(ContinuousLegend, { min: min, max: max, dataObjectName: title, position: position, colorName: colorName, horizontal: horizontal, colorTables: colorTables }));
};
ContinuousLegendWrapper.propTypes = {
    title: PropTypes.string.isRequired,
    min: PropTypes.number.isRequired,
    max: PropTypes.number.isRequired,
    position: PropTypes.arrayOf(PropTypes.number.isRequired),
    colorName: PropTypes.string.isRequired,
    horizontal: PropTypes.bool,
    colorTables: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
};
export default ContinuousLegendWrapper;
//# sourceMappingURL=WebVizContinuousLegend.js.map