UNPKG

@crossed/primitive

Version:

A universal & performant styling library for React Native, Next.js & React

17 lines (13 loc) 348 B
/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { createScope } from '@crossed/core'; export type ContextButton = { id: string; }; export const [Provider, useContext] = createScope<ContextButton>( {} as ContextButton );