import { jsx as o } from "react/jsx-runtime";
import { Icon as e, IconSize as t } from "./index-Icon.js";
import { IconNames as i } from "./index-IconNames.js";
import "react";
import m from "./index-InputAdornment.js";
const s = (r) => {
  const {
    onClick: n
  } = r;
  return (
    // TODO calendar icon should toggle the input
    o(m, {
      onClick: (
        //   () => {
        //   setIsPopoverOpen(true);
        //   setIsPopoverFocused(false);
        // }
        () => n && n()
      ),
      style: {
        marginLeft: 0,
        marginRight: 16,
        height: 48,
        padding: 3
      },
      position: "end",
      children: o(e, {
        forceSize: 18,
        color: "--n400",
        type: t.small,
        children: i.calendar
      })
    })
  );
};
export {
  s as DateRangePickerBaseInputAdornment
};
