зеркало из https://github.com/microsoft/just.git
Upgrades just-stack-uifabric to use Fabric 7 (#137)
* Upgrade UI Fabric in just-stack-uifabric to 7 * Change files
This commit is contained in:
Родитель
8a185636d7
Коммит
1b8066ea1f
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"comment": "Upgrade UI Fabric in just-stack-uifabric to 7",
|
||||
"type": "minor",
|
||||
"packageName": "just-stack-uifabric",
|
||||
"email": "kchau@microsoft.com",
|
||||
"commit": "b785112c03f063b71d936ff052470817019267d4",
|
||||
"date": "2019-06-20T22:54:59.172Z"
|
||||
}
|
|
@ -22,8 +22,7 @@
|
|||
"stack:upgrade": "just-scripts upgrade-stack"
|
||||
},
|
||||
"dependencies": {
|
||||
"@uifabric/fluent-theme": "^0.16.6",
|
||||
"office-ui-fabric-react": "^6.165.0",
|
||||
"office-ui-fabric-react": "^7.4.3",
|
||||
"react": "~16.8.0",
|
||||
"react-dom": "~16.8.0"
|
||||
},
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { App } from './components/App';
|
||||
import { mergeStyles } from '@uifabric/styling';
|
||||
import { FluentCustomizations } from '@uifabric/fluent-theme';
|
||||
import { Customizer } from 'office-ui-fabric-react';
|
||||
import { mergeStyles } from 'office-ui-fabric-react';
|
||||
|
||||
// Inject some global styles
|
||||
mergeStyles({
|
||||
|
@ -16,9 +14,4 @@ mergeStyles({
|
|||
}
|
||||
});
|
||||
|
||||
ReactDOM.render(
|
||||
<Customizer {...FluentCustomizations}>
|
||||
<App />
|
||||
</Customizer>,
|
||||
document.getElementById('app')
|
||||
);
|
||||
ReactDOM.render(<App />, document.getElementById('app'));
|
||||
|
|
Загрузка…
Ссылка в новой задаче