UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

14 lines (11 loc) 545 B
import { jsx } from 'react/jsx-runtime'; import { forwardRef } from 'react'; import { Utils } from '../../../utils/util.js'; const rootClass = 'nj-navigation-group'; const NJNavigationGroup = forwardRef((props, ref) => { const { children, className: hostClass, ...htmlAttributes } = props; const className = Utils.classNames(rootClass, hostClass); return (jsx("div", { ref: ref, ...htmlAttributes, className: className, children: children })); }); NJNavigationGroup.displayName = 'NJNavigationGroup'; export { NJNavigationGroup };