Optional
children?: ReactNodeOptional
entityTypeFilter?: EntityTypeFilterKeys[]An array that specifies which entity types are available in the data picker
Optional
initialSqlParameters?: SqlParameterValuesInitial values for the SQL parameters.
Optional
isSaveEnabled?: booleanWhether to show the save button.
Optional
onBeforeSave?: (A callback function that triggers before saving. Only relevant when isSaveEnabled = true
Optional
onSave?: (A callback function that triggers when a user saves the question. Only relevant when isSaveEnabled = true
Optional
plugins?: MetabasePluginsConfigThe ID of the question.
This is either:
http://localhost:3000/question/1-my-question
where the ID is 1
entity_id
key of the question object. You can find a question's Entity ID in the info panel when viewing a question
new
to show the notebook editor for creating new questions. isSaveEnabled
must be true
to allow saving the questionOptional
targetCollection?: SdkCollectionIdThe collection to save the question to. This will hide the collection picker from the save modal. Only applicable to interactive questions.
Optional
withDownloads?: booleanEnables the ability to download results in the interactive question.
The children of the MetabaseProvider component.s