UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

8 lines (7 loc) 366 B
import { jsx as _jsx } from "react/jsx-runtime"; import { forwardRef } from "react"; import { Item } from "../listbox/item.js"; import { rowContext } from "./context.js"; export const SortRow = forwardRef(function SortRow({ row, ...props }, forwarded) { return (_jsx(rowContext.Provider, { value: row, children: _jsx(Item, { ...props, ref: forwarded }) })); });