import { jsx as m } from "react/jsx-runtime";
import { useListToolbarButtonState as n, ELEMENT_UL as e, useListToolbarButton as p } from "@udecode/plate-list";
import { forwardRef as u } from "react";
import { ToolbarButton as f } from "../../components/Toolbar/ToolbarButton.es.js";
const l = u(({ nodeType: o = e, tooltip: t, ...r }, s) => {
  const a = n({ nodeType: o }), { props: i } = p(a);
  return /* @__PURE__ */ m(f, { tooltip: t, ref: s, ...i, ...r });
});
l.displayName = "ListToolbarButton";
export {
  l as ListToolbarButton
};
//# sourceMappingURL=ListToolbarButton.es.js.map
