Skip to content

Commit

Permalink
reverting back to the original
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 1, 2024
1 parent 3f0f758 commit 3700986
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
import React, { Fragment } from 'react';
import { Map } from '@components/map';
import BaseFloatingDialog from "@utils/dialog-utils";

export const App = () => {
const subObj = () => {
return (
<Fragment>
<div>
<br/>
This is a dialog sub-component.
<br/>
</div>
</Fragment>
);
};

const floaterArgs = {title: "The dialog title.", description: "The dialog description.", openDialogImmediately:true, "dialogObject": {...subObj()}};

return (
return (
<Fragment>
<BaseFloatingDialog {...floaterArgs} />
<Map />
</Fragment>
);
<Map />
</Fragment>
);
};

0 comments on commit 3700986

Please sign in to comment.