Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

604 B
Raw Blame
import { ComponentProvider } from "embedding-sdk-bundle/components/public/ComponentProvider";
import { StaticDashboard } from "embedding-sdk-bundle/components/public/dashboard";
import { storybookSdkAuthDefaultConfig } from "embedding-sdk-bundle/test/CommonSdkStoryWrapper";

export default {
  title: "EmbeddingSDK/Locale",
};

export const DeLocale = () => (
  <ComponentProvider authConfig={storybookSdkAuthDefaultConfig} locale="de">
    <StaticDashboard
      // Unjustified type cast. FIXME
      dashboardId={(window as any).DASHBOARD_ID || 1}
      withDownloads
    />
  </ComponentProvider>
);