Theme provider component that makes the VS Code theme available to all child components. Provides the jupyter-lexical ThemeContext so components in that package can consume it.
<ThemeProvider theme={theme}> <LexicalEditor {...props} /></ThemeProvider> Copy
<ThemeProvider theme={theme}> <LexicalEditor {...props} /></ThemeProvider>
Theme provider component that makes the VS Code theme available to all child components. Provides the jupyter-lexical ThemeContext so components in that package can consume it.