@clayui/drop-down
Version:
ClayDropDown component
22 lines (21 loc) • 611 B
JavaScript
import classNames from "classnames";
import React from "react";
const Section = React.forwardRef(
({ active, children, className, disabled, innerRef, ...otherProps }, ref) => /* @__PURE__ */ React.createElement("li", { "aria-selected": active, ref, role: "none" }, /* @__PURE__ */ React.createElement(
"div",
{
...otherProps,
className: classNames("dropdown-section", className, {
active,
disabled
}),
ref: innerRef
},
children
))
);
Section.displayName = "ClayDropDownSection";
var Section_default = Section;
export {
Section_default as default
};