Skip to content
Discussion options

You must be logged in to vote

Here I have made a solution (working) in which 'Customizer' is replaced by 'ThemeProvider', please check the following example and tell me if working to you:

https://codesandbox.io/s/fluentui-replace-customizer-v1-0-2-ok2qtv

The code is adapted to work in "@fluentui/react": version 8, where 'Customizer' is deprecated and is based on the original that you have provided at Microsoft.

You may notice that I have added a 'transparent shadow' to highlight the modal.

The code working is as follow:

import * as React from "react";
import { useId, useBoolean } from "@fluentui/react-hooks";
import { initializeIcons } from "@fluentui/react/lib/Icons";
import {
  ThemeProvider,
  Panel,
  Toggle,
  La…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martinsolod
Comment options

@palonza
Comment options

Answer selected by martinsolod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants