1.0.2 • Published 8 years ago
antd-navbutton v1.0.2
antd-navbutton
react-router navigation button in antd style.
Installation
yarn add antd-navbuttonUsage
import { NavButton } from "antd-navbutton";
const button = <NavButton to="/home" replace={false} />;NavButton component is fully compatible with antd's Button. Usage consistent with Button and Link. When you click NavButton, the button's onClick event is fired first, then the navigation event is fired.
References:
react-router-dom Link component
License
MIT