UNPKG

gatsby-plugin-theme-ui

Version:

Gatsby plugin for adding Theme UI context

6 lines (4 loc) 181 B
import * as React from 'react' import { WrapRootElement } from './src/provider' export const wrapRootElement = ({ element }) => React.createElement(WrapRootElement, { element })