2022-10-20 10:58:37 -07:00
|
|
|
import { PrimaryButton, Stack, Text } from "@fluentui/react";
|
2021-02-24 19:04:28 -06:00
|
|
|
import * as React from "react";
|
|
|
|
|
|
|
|
export const OpenFullScreen: React.FunctionComponent = () => {
|
|
|
|
return (
|
|
|
|
<>
|
2022-10-20 10:58:37 -07:00
|
|
|
<div style={{ padding: "34px" }}>
|
|
|
|
<Stack tokens={{ childrenGap: 10 }}>
|
|
|
|
<Text>
|
|
|
|
Open this database account in a new browser tab with Cosmos DB Explorer. You can connect using your
|
|
|
|
Microsoft account or a connection string.
|
|
|
|
</Text>
|
|
|
|
<Stack horizontal tokens={{ childrenGap: 10 }}>
|
|
|
|
<PrimaryButton
|
|
|
|
onClick={() => {
|
|
|
|
window.open("https://cosmos.azure.com/", "_blank");
|
|
|
|
}}
|
|
|
|
text="Open"
|
|
|
|
iconProps={{ iconName: "OpenInNewWindow" }}
|
|
|
|
/>
|
|
|
|
</Stack>
|
2021-02-24 19:04:28 -06:00
|
|
|
</Stack>
|
2022-10-20 10:58:37 -07:00
|
|
|
</div>
|
2021-02-24 19:04:28 -06:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
};
|