Merge pull request #5621 from benishouga/react-router-link

react-router: Link inherit HtmlAttribute for use with className and style
This commit is contained in:
Masahiro Wakame
2015-09-08 23:33:03 +09:00
+1 -2
View File
@@ -113,13 +113,12 @@ declare module ReactRouter {
// Components
// ----------------------------------------------------------------------
// Link
interface LinkProp {
interface LinkProp extends React.HTMLAttributes {
activeClassName?: string;
activeStyle?: {};
to: string;
params?: {};
query?: {};
onClick?: Function;
}
interface Link extends React.ReactElement<LinkProp>, Navigation, State {
handleClick(event: any): void;