"use strict";
const jsxRuntime = require("react/jsx-runtime");
const kit_internal_types = require("../internal/types.cjs");
const kit_Select = require("../Select.cjs");
const XAxisFilter = ({ options, onChange, value }) => {
  return /* @__PURE__ */ jsxRuntime.jsx(
    kit_Select.default,
    {
      label: "X-Axis",
      searchable: false,
      value,
      onSelect: (newValue) => onChange(newValue),
      children: Object.values(kit_internal_types.XAxisDomain).filter((opt) => options.includes(opt)).map((opt) => /* @__PURE__ */ jsxRuntime.jsx(kit_Select.Option, { value: opt, children: opt }, opt))
    }
  );
};
module.exports = XAxisFilter;
