altonomy-navigations
v0.1.9
Published
Made with create-react-library
Downloads
2
Readme
altonomy-navigations
Made with create-react-library
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