UNPKG

@kadoui/react

Version:

Kadoui primitive components for React

7 lines (6 loc) 278 B
"use client"; import { jsx as _jsx } from "react/jsx-runtime"; import { SwapContext } from "./SwapContext"; export function SwapRoot({ keys, activeKey, setActiveKey, children }) { return _jsx(SwapContext, { value: { keys, activeKey, setActiveKey }, children: children }); }