Antonio-RiveroMartnez commented on code in PR #21241:
URL: https://github.com/apache/superset/pull/21241#discussion_r966463492


##########
superset-frontend/src/views/CRUD/data/dataset/AddDataset/Footer/index.tsx:
##########
@@ -17,7 +17,65 @@
  * under the License.
  */
 import React from 'react';
+import Button from 'src/components/Button';
+import { t } from '@superset-ui/core';
+import { useSingleViewResource } from 'src/views/CRUD/hooks';
+import withToasts from 'src/components/MessageToasts/withToasts';
+import { DatasetObject } from '../types';
 
-export default function Footer() {
-  return <div>Footer</div>;
+interface FooterObject {
+  url: string;
+  addDangerToast: () => void;
+  datasetObject?: Partial<DatasetObject> | null;
+  onDatasetAdd?: (dataset: DatasetObject) => void;
 }
+
+function Footer({ url, datasetObject, addDangerToast }: FooterObject) {

Review Comment:
   Well, it depends, if we are keeping them separately like two individual 
`Footer`s, I'd probably Call them `FilterFooter` and `DatasetFooter` or 
similar, so I know which `Footer` I'm working with. But yeah, the path is 
descriptive as you mention, not a blocker, more likely just personal taste, so 
nvm.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to