Add carousel for quick start (#1271)

* Add carousel for quick start

* Put carousel behind feature flag

* Install type definition for react-youtube

* Install type definition for react-youtube

* Remove @types/youtube-player

* Move feature flag outside of quickstarttutorial component
This commit is contained in:
victor-meng
2022-05-16 18:23:54 -07:00
committed by GitHub
parent 60525f654b
commit c2f3471afe
6 changed files with 197 additions and 14 deletions

View File

@@ -2,15 +2,10 @@ import { TeachingBubble } from "@fluentui/react";
import { useDatabases } from "Explorer/useDatabases";
import { useTeachingBubble } from "hooks/useTeachingBubble";
import React from "react";
import { userContext } from "UserContext";
export const QuickstartTutorial: React.FC = (): JSX.Element => {
const { step, isSampleDBExpanded, isDocumentsTabOpened, setStep } = useTeachingBubble();
if (!userContext.features.enableNewQuickstart) {
return <></>;
}
switch (step) {
case 1:
return isSampleDBExpanded ? (