I would like to use a fluent UI component based on React in a Javascript add-in. How can I import and use a module for this?
Here is a code example for JS:
import * as React from "react";
import { Calendar } from "
@fluentui/react-calendar-compat";
import type { CalendarProps } from "
@fluentui/react-calendar-compat";
export const Default = (props: CalendarProps) => <Calendar {...props} />;
https://react.fluentui.dev/?path=/docs/compat-components-calendar--default
I use BC Cloud.
Thank you very much!