UNPKG

@progress/kendo-react-layout

Version:

React Layout components enable you to create a perceptive and intuitive layout of web projects. KendoReact Layout package

30 lines (29 loc) 1.17 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import * as e from "react"; import { IconWrap as n } from "@progress/kendo-react-common"; import { chevronLeftIcon as o, chevronRightIcon as t, chevronDownIcon as c } from "@progress/kendo-svg-icons"; import { getChildrenPosition as i } from "../utils/misc.mjs"; const a = "chevron-down", m = "chevron-right", h = "chevron-left", d = (r) => { switch (i(r.itemId, r.verticalMenu === !0, r.dir === "rtl")) { case "downward": return { name: a, icon: c }; case "rightward": return { name: m, icon: t }; case "leftward": return { name: h, icon: o }; default: return {}; } }, f = (r) => /* @__PURE__ */ e.createElement(n, { "aria-hidden": !0, ...d(r) }); export { f as MenuItemArrow, a as downArrowName, h as leftArrowName, m as rightArrowName };