taxonium-component
Version:
React component for exploring large phylogenetic trees in the browser
71 lines (70 loc) • 2.14 kB
JavaScript
import { c, p as i } from "./index-CoM8QAjP.js";
import * as p from "react";
import o from "prop-types";
import { A as m, z as u, E as f, G as d, H as y, T as C, aJ as T } from "./JBrowsePanel-BNE3gNW1.js";
import { jsx as g } from "react/jsx-runtime";
function x(t) {
return m("MuiDialogContentText", t);
}
u("MuiDialogContentText", ["root"]);
const D = (t) => {
const {
classes: s
} = t, e = y({
root: ["root"]
}, x, s);
return {
...s,
// forward classes to the Typography
...e
};
}, b = d(C, {
shouldForwardProp: (t) => T(t) || t === "classes",
name: "MuiDialogContentText",
slot: "Root"
})({}), h = /* @__PURE__ */ p.forwardRef(function(s, a) {
const e = f({
props: s,
name: "MuiDialogContentText"
}), {
children: w,
className: l,
...n
} = e, r = D(n);
return /* @__PURE__ */ g(b, {
component: "p",
variant: "body1",
color: "textSecondary",
ref: a,
ownerState: n,
className: c(r.root, l),
...e,
classes: r
});
});
i.env.NODE_ENV !== "production" && (h.propTypes = {
// ┌────────────────────────────── Warning ──────────────────────────────┐
// │ These PropTypes are generated from the TypeScript type definitions. │
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
// └─────────────────────────────────────────────────────────────────────┘
/**
* The content of the component.
*/
children: o.node,
/**
* Override or extend the styles applied to the component.
*/
classes: o.object,
/**
* @ignore
*/
className: o.string,
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
});
export {
h as D
};
//# sourceMappingURL=DialogContentText-CyyKmj20.js.map