synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
60 lines (59 loc) • 1.8 kB
JavaScript
import { jsxs as o, jsx as e, Fragment as i } from "react/jsx-runtime";
import c from "../WizardChoiceButton/WizardChoiceButtonGroup.js";
import a from "../WizardChoiceButton/WizardChoiceButton.js";
import s from "../WizardChoiceButton/WizardChoiceButtonDescription.js";
import { Link as n } from "@mui/material";
const p = /* @__PURE__ */ o(i, { children: [
/* @__PURE__ */ e(s, { children: "Synapse tables are used to organize web-accessible, sharable, and queryable data. Tables may be queried and edited with the Synapse UI, as well as with the Synapse programmatic clients." }),
/* @__PURE__ */ e(
n,
{
href: "https://help.synapse.org/docs/Organizing-Data-With-Tables.2011038095.html",
target: "_blank",
onClick: (t) => {
t.stopPropagation();
},
children: "More about Tables"
}
)
] }), d = /* @__PURE__ */ o(i, { children: [
/* @__PURE__ */ e(s, { children: "Views allow you to see and query groups of other objects in Synapse, such as files, tables, projects, or submissions and any associated annotations about those items." }),
/* @__PURE__ */ e(
n,
{
href: "https://help.synapse.org/docs/Views.2011070739.html",
target: "_blank",
onClick: (t) => {
t.stopPropagation();
},
children: "More about Views"
}
)
] });
function y(t) {
const { onTableSelected: r, onViewSelected: l } = t;
return /* @__PURE__ */ o(c, { children: [
/* @__PURE__ */ e(
a,
{
title: "Table",
description: p,
onClick: () => {
r();
}
}
),
/* @__PURE__ */ e(
a,
{
title: "View",
description: d,
onClick: l
}
)
] });
}
export {
y as default
};
//# sourceMappingURL=TableTypeSelection.js.map