create-powerapps-project 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-powerapps-project",
3
3
  "description": "💧 plop generator for Dataverse development",
4
- "version": "2.3.2",
4
+ "version": "2.3.3",
5
5
  "license": "MIT",
6
6
  "exports": "./lib/index.js",
7
7
  "engines": {
@@ -1,12 +1,13 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
2
  import { IInputs } from './generated/ManifestTypes';
3
3
  import { AppContext } from './contexts/AppContext';
4
+ import { FluentProvider, Theme } from "@fluentui/react-components";
4
5
 
5
- export const App = ({ context }: { context: ComponentFramework.Context<IInputs>; }) => {
6
+ export function App({ context }: { context: ComponentFramework.Context<IInputs>; }) {
6
7
  return (
7
8
  <AppContext.Provider value=\{{ context }}>
9
+ <FluentProvider theme={context.fluentDesignLanguage?.tokenTheme as Theme}>
10
+ </FluentProvider>
8
11
  </AppContext.Provider>
9
12
  );
10
- };
11
-
12
- App.displayName = 'App';
13
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
2
  import { IInputs } from '../generated/ManifestTypes';
3
3
 
4
4
  export interface IAppContext {