Optional
allowConsoleLog?: booleanWhether to allow logging to the DevTools console. Defaults to true.
Defines how to authenticate with Metabase.
The children of the MetabaseProvider component.
Optional
className?: stringA custom class name to be added to the root element.
Optional
errorComponent?: SdkErrorComponentA custom error component to display when the SDK encounters an error.
Optional
eventHandlers?: SdkEventHandlersConfigOptional
loaderComponent?: () => ElementA custom loader component to display while the SDK is loading.
Optional
locale?: stringDefines the display language. Accepts an ISO language code such as en
or de
.
Defaults to en
. Does not support country code suffixes (i.e. en-US
)
Optional
pluginsConfig?: MetabasePluginsConfigSee Plugins.
Optional
theme?: MetabaseThemeSee Appearance.
A component that provides the Metabase SDK context and theme.