Complete this onboarding flow, then create a survey from one of our templates or from scratch.
+ > + ) +} diff --git a/frontend/src/scenes/onboarding/sdks/surveys/SurveysSDKInstructions.tsx b/frontend/src/scenes/onboarding/sdks/surveys/SurveysSDKInstructions.tsx new file mode 100644 index 0000000000000..352a4b3d96d82 --- /dev/null +++ b/frontend/src/scenes/onboarding/sdks/surveys/SurveysSDKInstructions.tsx @@ -0,0 +1,8 @@ +import { SDKInstructionsMap, SDKKey } from '~/types' +import { JSWebInstructions, NextJSInstructions, ReactInstructions } from '.' + +export const SurveysSDKInstructions: SDKInstructionsMap = { + [SDKKey.JS_WEB]: JSWebInstructions, + [SDKKey.NEXT_JS]: NextJSInstructions, + [SDKKey.REACT]: ReactInstructions, +} diff --git a/frontend/src/scenes/onboarding/sdks/surveys/index.tsx b/frontend/src/scenes/onboarding/sdks/surveys/index.tsx new file mode 100644 index 0000000000000..27d9e5388d04d --- /dev/null +++ b/frontend/src/scenes/onboarding/sdks/surveys/index.tsx @@ -0,0 +1,3 @@ +export * from './js-web' +export * from './next-js' +export * from './react' diff --git a/frontend/src/scenes/onboarding/sdks/surveys/js-web.tsx b/frontend/src/scenes/onboarding/sdks/surveys/js-web.tsx new file mode 100644 index 0000000000000..522c229904cc7 --- /dev/null +++ b/frontend/src/scenes/onboarding/sdks/surveys/js-web.tsx @@ -0,0 +1,13 @@ +import { LemonDivider } from 'lib/lemon-ui/LemonDivider' +import { SDKInstallJSWebInstructions } from '../sdk-install-instructions' +import { SurveysFinalSteps } from './SurveysFinalSteps' + +export function JSWebInstructions(): JSX.Element { + return ( + <> +