1.0.2 • Published 6 years ago

antd-navbutton v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

antd-navbutton

react-router navigation button in antd style.

Installation

yarn add antd-navbutton

Usage

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

antd Button component

License

MIT

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago