@lanaco/lnc-react-ui
Version:
React component library
38 lines (37 loc) • 839 B
JavaScript
import { jsx as p } from "react/jsx-runtime";
import { forwardRef as l } from "react";
import { P as r } from "./index-S5Cd7WrG.js";
import { n } from "./emotion-styled.browser.esm-CjCaF13H.js";
import { b as i } from "./utils-DtRLzzTZ.js";
import { u as c } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
const f = n.div`
height: 1px;
background-color: ${(e) => i(
e.theme,
"MenuItem",
"default",
"enabled",
"separator"
)};
margin-left: -0.25rem;
margin-right: -0.25rem;
`, d = l((e, o) => {
const { className: t = "", style: a = {}, ...s } = e, m = c();
return /* @__PURE__ */ p(
f,
{
ref: o,
theme: m,
className: "lnc-ui-dropdown-separator " + t,
style: a,
...s
}
);
});
d.propTypes = {
className: r.string,
style: r.object
};
export {
d as default
};