/
sweetebin
/
hackaton_26
Обзор
Документация
Войти
/
sweetebin
/
hackaton_26
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
web-form-project/node_modules/@mui/material/Step/StepContext.js
19 строк
490 B
AKorostelev
web form project added
28 июл 2026, 10:57
28 июл 2026, 10:57
4339e77
Код
Авторство
О чём код?
'use client'; import * as React from 'react'; /** * Provides information about the current step in Stepper. */ const StepContext = /*#__PURE__*/React.createContext({}); if (process.env.NODE_ENV !== 'production') { StepContext.displayName = 'StepContext'; } /** * Returns the current StepContext or an empty object if no StepContext * has been defined in the component tree. */ export function useStepContext() { return React.useContext(StepContext); } export default StepContext;