Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* eslint import/no-extraneous-dependencies: 0 */
import React from 'react';
import createContextToProps from '@lskjs/utils/createContextToProps';
const Context = React.createContext('Modal2');
export const { Provider, Consumer } = Context;
export const contextToProps = createContextToProps(Context);
import React from 'react';
import createContextToProps from '@lskjs/utils/createContextToProps';
const Context = React.createContext('List');
export const { Provider, Consumer } = Context;
export const contextToProps = createContextToProps(Context);