@ark-ui/react
Version:
A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.
9 lines (6 loc) • 318 B
JavaScript
'use client';
import { createContext, useContext } from 'react';
const DrawerStackStoreContext = createContext(void 0);
const DrawerStackStoreProvider = DrawerStackStoreContext.Provider;
const useDrawerStackStore = () => useContext(DrawerStackStoreContext);
export { DrawerStackStoreProvider, useDrawerStackStore };