12 lines
225 B
JavaScript
12 lines
225 B
JavaScript
import React from 'react';
|
|
import lockContext from './context';
|
|
|
|
|
|
const contextProvider = props => (
|
|
<lockContext.Provider value={props}>
|
|
{ props.children }
|
|
</lockContext.Provider>
|
|
);
|
|
|
|
export default contextProvider;
|