This is where the download will go
; + returnthis is where local download logic will go
; + } else { + returnthis is where api download logic will go
; + } + }; + + return ( +download placeholder
+ <>{determineDirectDownload()}> +Filtering placeholder in DataPreviewFilterSection
+Date range placeholder
; +}; + +export default DateRangeFilter; diff --git a/src/components/data-preview/data-preview-pivot-options/data-preview-pivot-options.tsx b/src/components/data-preview/data-preview-pivot-options/data-preview-pivot-options.tsx new file mode 100644 index 000000000..939e68a78 --- /dev/null +++ b/src/components/data-preview/data-preview-pivot-options/data-preview-pivot-options.tsx @@ -0,0 +1,84 @@ +import React, { FunctionComponent, useEffect, useState } from 'react'; +import Analytics from '../../../utils/analytics/analytics'; + +type PivotOptions = { + datasetName; + table; + pivotSelection; + setSelectedPivot; + pivotsUpdated; +}; + +const DataPreviewPivotOptions: FunctionComponent