import * as React from 'react';
import { t } from '../../common';
export function createProvider(context) {
    return (props = {}) => (React.createElement(t.EditorContext.Provider, { value: context }, props.children));
}
