Fix legacy (0.11.1) definitions

This commit is contained in:
Alexandru Ciuca
2015-09-29 17:49:40 +03:00
parent 61443b7120
commit 429dcbaa9c
2 changed files with 6 additions and 6 deletions
@@ -1,5 +1,5 @@
///<reference path='../react/react.d.ts' />
///<reference path='material-ui.d.ts' />
///<reference path='../../react/react.d.ts' />
///<reference path='material-ui-0.11.1.d.ts' />
import * as React from "react/addons";
import mui = require("material-ui");
+4 -4
View File
@@ -3,7 +3,7 @@
// Definitions by: Nathan Brown <https://github.com/ngbrown>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
///<reference path='../react/react.d.ts' />
///<reference path='../../react/react.d.ts' />
declare module "material-ui" {
// The reason for exporting the namespace types (__MaterialUI.*) is to also export the type for casting variable.
@@ -319,7 +319,7 @@ declare namespace __MaterialUI {
minDate?: Date;
mode?: string;
onDismiss?: () => void;
// e is always null
onChange?: (e: any, d: Date) => void;
@@ -672,7 +672,7 @@ declare namespace __MaterialUI {
labelPosition?: string;
style?: React.CSSProperties;
value?: string;
onCheck?: (e: React.FormEvent, selected: string) => void;
}
export class RadioButton extends React.Component<RadioButtonProps, {}> {
@@ -1054,7 +1054,7 @@ declare namespace __MaterialUI {
value?: string;
selected?: boolean;
width?: string;
// Called by Tabs component
onActive?: (tab: Tab) => void;