mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-26 04:11:24 +00:00
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:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user