UNPKG

@progress/kendo-react-inputs

Version:

React Inputs offer a customizable interface for users to enter and pick different information. KendoReact Input package

30 lines (29 loc) 991 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import * as l from "react"; import { useDir as a, classNames as i } from "@progress/kendo-react-common"; const c = "data-slider-label", s = (e) => { const t = l.useRef(null); return a(t), /* @__PURE__ */ l.createElement( "li", { ref: t, className: i("k-tick", { "k-tick-large": e.children, "k-first": e.firstTick, "k-last": e.lastTick }), title: e.title }, e.children && /* @__PURE__ */ l.createElement("span", { [c]: !0, className: "k-label", onClick: e.onClick }, e.children) ); }; export { c as SLIDER_LABEL_ATTRIBUTE, s as SliderLabel };