UNPKG

vcc-ui

Version:

A React library for building user interfaces at Volvo Cars

17 lines 511 B
import React, { useRef } from 'react'; import { Nav } from 'vcc-ui'; // passes ref and allow div attributes and custom props () => { const ref = useRef(null); return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Nav, { ref: ref, "aria-label": "label", hideOnScroll: true }), /*#__PURE__*/React.createElement(Nav, { ref: ref, "aria-label": "label", href: "href" }), /*#__PURE__*/React.createElement(Nav, { hideOnScroll: true })); };