UNPKG

taxonium-component

Version:

React component for exploring large phylogenetic trees in the browser

71 lines (70 loc) 2.14 kB
import { c, d as i } from "./index-dFotuATn.js"; import * as p from "react"; import o from "prop-types"; import { A as m, z as u, G as d, H as f, I as x, T as y, aY as C } from "./JBrowsePanel-uJIA-L6s.js"; import { jsx as T } from "react/jsx-runtime"; function g(t) { return m("MuiDialogContentText", t); } u("MuiDialogContentText", ["root"]); const D = (t) => { const { classes: s } = t, e = x({ root: ["root"] }, g, s); return { ...s, // forward classes to the Typography ...e }; }, b = f(y, { shouldForwardProp: (t) => C(t) || t === "classes", name: "MuiDialogContentText", slot: "Root" })({}), h = /* @__PURE__ */ p.forwardRef(function(s, a) { const e = d({ props: s, name: "MuiDialogContentText" }), { children: w, className: l, ...n } = e, r = D(n); return /* @__PURE__ */ T(b, { component: "p", variant: "body1", color: "textSecondary", ref: a, ownerState: n, className: c(r.root, l), ...e, classes: r }); }); i.process.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-CYI22CWW.js.map