Link inherit HtmlAttribute for use with className and style

This commit is contained in:
benishouga
2015-09-01 02:16:04 +09:00
parent a213223e1b
commit dab752b34f

View File

@@ -114,13 +114,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;