@ozen-ui/kit
Version:
React component library
9 lines (8 loc) • 357 B
JavaScript
import { useContext, createContext } from 'react';
import { isDev } from '../../constants/environment';
export var ListCardContext = createContext(undefined);
export var useListCardContext = function () { return useContext(ListCardContext); };
// Именованный провайдер
if (isDev) {
ListCardContext.displayName = 'ListCardContext';
}