Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/node_modules/react-select/src/NonceProvider.js
Назад
// @flow import React, { Component, type Node } from 'react'; import { CacheProvider } from '@emotion/react'; import createCache from '@emotion/cache'; import memoizeOne from 'memoize-one'; type NonceProviderProps = { nonce: string, children: Node, cacheKey: string, }; export default class NonceProvider extends Component<NonceProviderProps> { constructor(props: NonceProviderProps) { super(props); this.createEmotionCache = memoizeOne(this.createEmotionCache); } createEmotionCache = (nonce: string, key: string) => { return createCache({ nonce, key }); }; render() { const emotionCache = this.createEmotionCache( this.props.nonce, this.props.cacheKey ); return ( <CacheProvider value={emotionCache}>{this.props.children}</CacheProvider> ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка