UNPKG

@kit-data-manager/react-search-component

Version:

All-in-one component for rendering an elastic search UI for searching anything. Built-in support for visualizing related items in a graph and resolving unique identifiers.

8 lines 559 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Slider } from "../../components/ui/slider"; import { useState } from "react"; export function SliderFacet() { const [value, setValue] = useState([0, 1000]); return (_jsxs("div", { className: "rfs-px-4 rfs-pt-0 rfs-pb-8", children: [_jsx("div", { className: "rfs-text-sm rfs-font-bold rfs-pb-7", children: "Compound" }), _jsx(Slider, { value: value, onValueChange: setValue, min: 0, max: 1000, step: 0.1, className: "rfs-w-full" })] })); } //# sourceMappingURL=SliderFacet.js.map