@ankr.com/cross-navigation
v2.0.14
Published
* [react](https://reactjs.org/) version 17.0.0 or higher * [react-dom](https://reactjs.org/docs/react-dom.html) version 17.0.0 or higher
Downloads
790
Readme
Requirements
Installation
npm:
npm install @ankr.com/cross-navigation
yarn:
yarn add @ankr.com/cross-navigation
Usage
import { CrossNavigation, LogoType } from '@ankr.com/cross-navigation';
// ...
<CrossNavigation logoType={LogoType.ANKR} />
Required styles
import '@ankr.com/assets/public/fonts/index.css';
import '@ankr.com/cross-navigation/style.css'
Alternative fonts import
<link
rel="preconnect"
href="https://assets.ankr.com"
crossOrigin=""
/>
<link
href="https://assets.ankr.com/fonts/index.css"
rel="stylesheet"
/>