0.1.9 • Published 3 years ago

altonomy-navigations v0.1.9

Weekly downloads
50
License
MIT
Repository
github
Last release
3 years ago

altonomy-navigations

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save altonomy-navigations

Usage

  • Work with ant-design(antd)
import React, { Component } from 'react'

import { OptimusNav, XAlphaNav } from 'altonomy-navigations'
import 'altonomy-navigations/dist/index.css'

class Example extends Component {
  render() {
    return (
        <div>
            <OptimusNav activeName="Auth Admin" onLogout={() => console.log("logout")} loggedInUser="soonjin.tay" />
            <XAlphaNav activeName="Auth Admin" onLogout={() => console.log("logout")} />
            <AltexNav activeName="Auth Admin" onLogout={() => console.log("logout")} />
        </div>
    )
  }
}

License

MIT © bieyaqing

0.1.9

3 years ago