mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-12-01 18:07:00 +00:00
1213788f9c
* Remove share-link feature Cosmos DB supports sharing access to an account data using AAD/RBAC now so this feature is unnecessary. * Fix format issues * Fix unit tests * undo package changes
27 lines
827 B
TypeScript
27 lines
827 B
TypeScript
import { PrimaryButton, Stack, Text } from "@fluentui/react";
|
|
import * as React from "react";
|
|
|
|
export const OpenFullScreen: React.FunctionComponent = () => {
|
|
return (
|
|
<>
|
|
<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>
|
|
</Stack>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|