UNPKG

@clayui/drop-down

Version:
22 lines (21 loc) 611 B
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 };