diff --git a/react-mdl/react-mdl-tests.tsx b/react-mdl/react-mdl-tests.tsx
new file mode 100644
index 0000000000..eb9981092a
--- /dev/null
+++ b/react-mdl/react-mdl-tests.tsx
@@ -0,0 +1,1044 @@
+// Test file for react-mdl Definition file
+///
+
+import React = require('react');
+import {Badge,
+ FABButton, Button, IconButton,
+ Card, CardActions, CardTitle, CardText, CardMenu, CardMedia,
+ Checkbox,
+ DataTable, TableHeader, Table,
+ Dialog, DialogTitle, DialogContent, DialogActions,
+ Grid, Cell,
+ Icon, IconToggle,
+ Layout, Header, Navigation, Drawer, Content, HeaderRow, HeaderTabs, Footer, FooterDropDownSection, FooterLinkList, FooterSection,
+ List, ListItem, ListItemContent, ListItemAction,
+ Menu, MenuItem,
+ ProgressBar,
+ RadioGroup, Radio,
+ Slider,
+ Snackbar,
+ Spinner,
+ Switch,
+ Tabs, Tab,
+ Textfield,
+ Tooltip} from 'react-mdl';
+
+// all tests are from the examples provided here: https://tleunen.github.io/react-mdl/
+
+// Badge tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Number badge on icon */}
+
+
+
+
+ {/* Icon badge on icon */}
+
+
+
+
+ {/* Number badge on text */}
+ Inbox
+
+ {/* Icon badge without background on text */}
+ Mood
+
+ );
+ }
+});
+
+// Button tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Colored FAB button */}
+
+
+
+
+ {/* Colored FAB button with ripple */}
+
+
+
+
+ {/* FAB button */}
+
+
+
+
+ {/* FAB button with ripple */}
+
+
+
+
+ {/* Disabled FAB button */}
+
+
+
+
+ {/* Mini FAB button */}
+
+
+
+
+ {/* Colored Mini FAB button */}
+
+
+
+
+ {/* Raised button */}
+ Button
+
+ {/* Raised button with ripple */}
+ Button
+
+ {/* Disabled Raised button */}
+ Button
+
+ {/* Colored Raised button */}
+ Button
+
+ {/* Accent-colored button without ripple */}
+ Button
+
+ {/* Accent-colored button with ripple */}
+ Button
+
+ {/* Flat button */}
+ Button
+
+ {/* Flat button with ripple */}
+ Button
+
+ {/* Disabled flat button */}
+ Button
+
+ {/* Primary colored flat button */}
+ Button
+
+ {/* Accent-colored flat button */}
+ Button
+
+ {/* Icon button */}
+
+
+ {/* Colored Icon button */}
+
+
+ );
+ }
+})
+
+// Card tests
+React.createClass({
+ render: function() {
+ return (
+
+
+ Welcome
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Mauris sagittis pellentesque lacus eleifend lacinia...
+
+
+ Get Started
+
+
+
+
+
+
+
+ Update
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Aenan convallis.
+
+
+ View Updates
+
+
+
+
+
+
+
+ Image.jpg
+
+
+
+
+
+
+
+ Featured event:
+ May 24, 2016
+ 7-11pm
+
+
+
+ Add to Calendar
+
+
+
+
+
+ );
+ }
+});
+
+// Checkbox tests
+React.createClass({
+ render: function() {
+ return (
+
+
+
+
+
+ );
+ }
+});
+
+// DataTable tests
+React.createClass({
+ render: function() {
+ return (
+
+
+ Material
+ Quantity
+ `\$${price.toFixed(2)}`} tooltip="Price pet unit">Price
+
+
+
+ Material
+ Quantity
+ `\$${price.toFixed(2)}`} tooltip="Price pet unit">Price
+
+
+
+ (isAsc ? a : b).match(/\((.*)\)/)[1].localeCompare((isAsc ? b : a).match(/\((.*)\)/)[1])}
+ tooltip="The amazing material name"
+ >
+ Material
+
+
+ Quantity
+
+ `\$${price.toFixed(2)}`}
+ tooltip="Price pet unit"
+ >
+ Price
+
+
+
+ );
+ }
+});
+
+// Dialog tests
+React.createClass({
+ render: function() {
+ return (
+
+
+
Show Dialog
+
+ Allow data collection?
+
+ Allowing us to collect data will let us get you the information you want faster.
+
+
+ Agree
+ Disagree
+
+
+
+
+
+
Show Modal
+
+ Allow this site to collect usage data to improve your experience?
+
+ Allowing us to collect data will let us get you the information you want faster.
+
+
+ Agree
+ Disagree
+
+
+
+
+
+
Show Dialog
+
+ Allow data collection?
+
+ Allowing us to collect data will let us get you the information you want faster.
+
+
+ Agree
+ Disagree
+
+
+
+
+ );
+ }
+});
+
+// Grid tests
+React.createClass({
+ render: function() {
+ return (
+
+
+
+ | 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+ 1 |
+
+
+ | 4 |
+ 4 |
+ 4 |
+
+
+ | 6 |
+ 4 |
+ 2 |
+
+
+ | 6 (8 tablet) |
+ 4 (6 tablet) |
+ 2 (4 phone) |
+
+
+
+ );
+ }
+});
+
+// IconToggle tests
+React.createClass({
+ render: function() {
+ return (
+
+
+
+
+
+ );
+ }
+});
+
+// Layout tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Uses a transparent header that draws on top of the layout's background */}
+
+
+ {/* No header, and the drawer stays open on larger screens (fixed drawer). */}
+
+
+ {/* Always shows a header, even in smaller screens. */}
+
+
+ {/* The drawer is always open in large screens. The header is always shown, even in small screens. */}
+
+
+
+ {}}
+ label="Search"
+ expandable
+ expandableIcon="search"
+ />
+
+
+
+ Link
+ Link
+ Link
+ Link
+
+
+
+
+
+
+ {/* Uses a header that scrolls with the text, rather than staying locked at the top */}
+
+
+ {/* Uses a header that contracts as the page scrolls down. */}
+
+
+ {/* Hide the top part of the header when scrolling down */}
+
+
+
+
+
+
+ this.setState({ activeTab: tabId })}>
+ Tab1
+ Tab2
+ Tab3
+ Tab4
+ Tab5
+ Tab6
+
+
+
+
+ Content for the tab: {this.state.activeTab}
+
+
+
+
+ {/* Simple header with fixed tabs. */}
+
+
+
+
+ {}}>
+ Tab1
+ Tab2
+ Tab3
+
+
+
+
+ You can add logic to update the content of this container based on the "activeTab" receive in the `onChange` callback.
+
+
+
+
+
+
+
+
+ );
+ }
+});
+
+// List tests
+React.createClass({
+ render: function() {
+ return (
+
+
+ Bryan Cranston
+ Aaron Paul
+ Bob Odenkirk
+
+
+
+
+ Bryan Cranston
+
+
+ Aaron Paul
+
+
+ Bob Odenkirk
+
+
+
+
+
+ Bryan Cranston
+
+
+
+
+
+ Aaron Paul
+
+
+
+
+
+ Bob Odenkirk
+
+
+
+
+
+
+
+
+ Bryan Cranston
+
+
+
+
+
+ Aaron Paul
+
+
+
+
+
+ Bob Odenkirk
+
+
+
+
+
+
+
+
+ Bryan Cranston
+
+
+
+
+
+ Aaron Paul
+
+
+
+
+
+ Bob Odenkirk
+
+
+
+
+
+
+
+
+ Bryan Cranston
+
+
+
+
+
+ Aaron Paul
+
+
+
+
+
+ Bob Odenkirk
+
+
+
+
+
+
+ );
+ }
+});
+
+// Menu tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Lower left */}
+
+
+
+ Some Action
+ Another Action
+ Disabled Action
+ Yet Another Action
+
+
+
+ {/* Lower right */}
+
+
+
+ Some Action
+ Another Action
+ Disabled Action
+ Yet Another Action
+
+
+
+ {/* Top left */}
+
+
+
+ Some Action
+ Another Action
+ Disabled Action
+ Yet Another Action
+
+
+
+ {/* Top right */}
+
+
+
+ Some Action
+ Another Action
+ Disabled Action
+ Yet Another Action
+
+
+
+ );
+ }
+});
+
+// ProgressBar tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Simple Progress Bar */}
+
+
+ {/* Progress Bar with Indeterminate Progress */}
+
+
+ {/* Progress Bar with Buffering */}
+
+
+ );
+ }
+});
+
+// Radio tests
+React.createClass({
+ render: function() {
+ return (
+
+
+ Ripple option
+ Other option
+
+
+
+ Ripple option
+ Other option
+
+
+ );
+ }
+});
+
+// Slider tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Default slider */}
+
+
+ {/* Slider with initial value */}
+
+
+ );
+ }
+});
+
+// Snackbar tests
+React.createClass({
+ render: function() {
+ return (
+
+
+ Show a Snackbar
+ Button color changed.
+
+
+
+ Show a Toast
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce varius luctus quam. Fusce quis blandit libero. Donec accumsan nunc lectus, vel blandit diam bibendum ac. Integer faucibus, lorem et convallis fermentum, diam dolor imperdiet mi, nec iaculis risus mauris id elit. Vivamus vel eros dapibus, molestie ante ut, vestibulum sem.
+
+
+
+ );
+ }
+});
+
+// Spinner tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Simple spinner */}
+
+
+ {/* Single color spinner */}
+
+
+ );
+ }
+});
+
+// Switch tests
+React.createClass({
+ render: function() {
+ return (
+
+ Ripple switch
+
+ Switch
+
+ );
+ }
+});
+
+// Tab tests
+React.createClass({
+ render: function() {
+ return (
+
+
+
this.setState({ activeTab: tabId })} ripple>
+ Starks
+ Lannisters
+ Targaryens
+
+
+ Content for the tab: {this.state.activeTab}
+
+
+
+ );
+ }
+});
+
+// Textfield tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Simple textfield */}
+ {}}
+ label="Text..."
+ style={{width: '200px'}}
+ />
+
+ {/* Numeric textfield */}
+ {}}
+ pattern="-?[0-9]*(\.[0-9]+)?"
+ error="Input is not a number!"
+ label="Number..."
+ style={{width: '200px'}}
+ />
+
+ {/* Textfield with floating label */}
+ {}}
+ label="Text..."
+ floatingLabel
+ style={{width: '200px'}}
+ />
+
+ {/* Numeric Textfield with floating label */}
+ {}}
+ pattern="-?[0-9]*(\.[0-9]+)?"
+ error="Input is not a number!"
+ label="Number..."
+ floatingLabel
+ />
+
+ );
+ }
+});
+
+// Tooltip tests
+React.createClass({
+ render: function() {
+ return (
+
+ {/* Simple tooltip */}
+
+
+
+
+ {/* Large Tooltip */}
+
+
+
+
+ {/* Rich Tooltip */}
+ Upload file.zip }>
+
+
+
+ {/* Multiline Tooltip */}
+ Share your content via social media}>
+
+
+
+ {/* Right Tooltip */}
+
+
+
+
+ {/* Left Tooltip */}
+
+
+
+
+ {/* Top Tooltip */}
+
+
+
+
+ {/* Bottom Tooltip */}
+
+
+
+
+ );
+ }
+});
diff --git a/react-mdl/react-mdl.d.ts b/react-mdl/react-mdl.d.ts
new file mode 100644
index 0000000000..86516b75f0
--- /dev/null
+++ b/react-mdl/react-mdl.d.ts
@@ -0,0 +1,606 @@
+// Type definitions for react-mdl 1.5.3
+// Project: https://github.com/tleunen/react-mdl
+// Definitions by: Brad Zacher
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare namespace __ReactMDL {
+ import React = __React;
+
+ type __MDLClassProps = React.ClassAttributes;
+ type __MDLOtherProps = React.HTMLProps;
+ class __MDLComponent extends React.Component
{}
+ class __MDLBasicComponent extends __MDLComponent<__MDLOtherProps> {}
+
+ interface ShadowedComponent {
+ shadow ?: number;
+ }
+ interface RippleComponent {
+ ripple ?: boolean;
+ }
+ interface CustomRenderedComponent {
+ component ?: string | JSX.Element | Function;
+ }
+
+
+ // HTMLAttributes (minus the 'data', 'icon', 'label', 'name', 'rows', 'size', 'title', 'value' attributes)
+ interface MDLHTMLAttributes {
+ // React-specific Attributes
+ defaultChecked?: boolean;
+ defaultValue?: string | string[];
+
+ // Standard HTML Attributes
+ accept?: string;
+ acceptCharset?: string;
+ accessKey?: string;
+ action?: string;
+ allowFullScreen?: boolean;
+ allowTransparency?: boolean;
+ alt?: string;
+ async?: boolean;
+ autoComplete?: string;
+ autoFocus?: boolean;
+ autoPlay?: boolean;
+ capture?: boolean;
+ cellPadding?: number | string;
+ cellSpacing?: number | string;
+ charSet?: string;
+ challenge?: string;
+ checked?: boolean;
+ classID?: string;
+ className?: string;
+ cols?: number;
+ colSpan?: number;
+ content?: string;
+ contentEditable?: boolean;
+ contextMenu?: string;
+ controls?: boolean;
+ coords?: string;
+ crossOrigin?: string;
+ dateTime?: string;
+ default?: boolean;
+ defer?: boolean;
+ dir?: string;
+ disabled?: boolean;
+ download?: any;
+ draggable?: boolean;
+ encType?: string;
+ form?: string;
+ formAction?: string;
+ formEncType?: string;
+ formMethod?: string;
+ formNoValidate?: boolean;
+ formTarget?: string;
+ frameBorder?: number | string;
+ headers?: string;
+ height?: number | string;
+ hidden?: boolean;
+ high?: number;
+ href?: string;
+ hrefLang?: string;
+ htmlFor?: string;
+ httpEquiv?: string;
+ id?: string;
+ inputMode?: string;
+ integrity?: string;
+ is?: string;
+ keyParams?: string;
+ keyType?: string;
+ kind?: string;
+ lang?: string;
+ list?: string;
+ loop?: boolean;
+ low?: number;
+ manifest?: string;
+ marginHeight?: number;
+ marginWidth?: number;
+ max?: number | string;
+ maxLength?: number;
+ media?: string;
+ mediaGroup?: string;
+ method?: string;
+ min?: number | string;
+ minLength?: number;
+ multiple?: boolean;
+ muted?: boolean;
+ nonce?: string;
+ noValidate?: boolean;
+ open?: boolean;
+ optimum?: number;
+ pattern?: string;
+ placeholder?: string;
+ poster?: string;
+ preload?: string;
+ radioGroup?: string;
+ readOnly?: boolean;
+ rel?: string;
+ required?: boolean;
+ reversed?: boolean;
+ role?: string;
+ rowSpan?: number;
+ sandbox?: string;
+ scope?: string;
+ scoped?: boolean;
+ scrolling?: string;
+ seamless?: boolean;
+ selected?: boolean;
+ shape?: string;
+ sizes?: string;
+ span?: number;
+ spellCheck?: boolean;
+ src?: string;
+ srcDoc?: string;
+ srcLang?: string;
+ srcSet?: string;
+ start?: number;
+ step?: number | string;
+ style?: React.CSSProperties;
+ summary?: string;
+ tabIndex?: number;
+ target?: string;
+ type?: string;
+ useMap?: string;
+ width?: number | string;
+ wmode?: string;
+ wrap?: string;
+
+ // RDFa Attributes
+ about?: string;
+ datatype?: string;
+ inlist?: any;
+ prefix?: string;
+ property?: string;
+ resource?: string;
+ typeof?: string;
+ vocab?: string;
+
+ // Non-standard Attributes
+ autoCapitalize?: string;
+ autoCorrect?: string;
+ autoSave?: string;
+ color?: string;
+ itemProp?: string;
+ itemScope?: boolean;
+ itemType?: string;
+ itemID?: string;
+ itemRef?: string;
+ results?: number;
+ security?: string;
+ unselectable?: boolean;
+
+ // Allows aria- and data- Attributes
+ [key: string]: any;
+ }
+ // DOMAttributes (minus 'onClick', 'onChange')
+ interface MDLDOMAttributes {
+ // DOMAttributes (minus onClick)
+ children?: React.ReactNode;
+ dangerouslySetInnerHTML?: {
+ __html: string;
+ };
+
+ // Clipboard Events
+ onCopy?: React.ClipboardEventHandler;
+ onCut?: React.ClipboardEventHandler;
+ onPaste?: React.ClipboardEventHandler;
+
+ // Composition Events
+ onCompositionEnd?: React.CompositionEventHandler;
+ onCompositionStart?: React.CompositionEventHandler;
+ onCompositionUpdate?: React.CompositionEventHandler;
+
+ // Focus Events
+ onFocus?: React.FocusEventHandler;
+ onBlur?: React.FocusEventHandler;
+
+ // Form Events
+ onInput?: React.FormEventHandler;
+ onSubmit?: React.FormEventHandler;
+
+ // Image Events
+ onLoad?: React.ReactEventHandler;
+ onError?: React.ReactEventHandler; // also a Media Event
+
+ // Keyboard Events
+ onKeyDown?: React.KeyboardEventHandler;
+ onKeyPress?: React.KeyboardEventHandler;
+ onKeyUp?: React.KeyboardEventHandler;
+
+ // Media Events
+ onAbort?: React.ReactEventHandler;
+ onCanPlay?: React.ReactEventHandler;
+ onCanPlayThrough?: React.ReactEventHandler;
+ onDurationChange?: React.ReactEventHandler;
+ onEmptied?: React.ReactEventHandler;
+ onEncrypted?: React.ReactEventHandler;
+ onEnded?: React.ReactEventHandler;
+ onLoadedData?: React.ReactEventHandler;
+ onLoadedMetadata?: React.ReactEventHandler;
+ onLoadStart?: React.ReactEventHandler;
+ onPause?: React.ReactEventHandler;
+ onPlay?: React.ReactEventHandler;
+ onPlaying?: React.ReactEventHandler;
+ onProgress?: React.ReactEventHandler;
+ onRateChange?: React.ReactEventHandler;
+ onSeeked?: React.ReactEventHandler;
+ onSeeking?: React.ReactEventHandler;
+ onStalled?: React.ReactEventHandler;
+ onSuspend?: React.ReactEventHandler;
+ onTimeUpdate?: React.ReactEventHandler;
+ onVolumeChange?: React.ReactEventHandler;
+ onWaiting?: React.ReactEventHandler;
+
+ // MouseEvents
+ onContextMenu?: React.MouseEventHandler;
+ onDoubleClick?: React.MouseEventHandler;
+ onDrag?: React.DragEventHandler;
+ onDragEnd?: React.DragEventHandler;
+ onDragEnter?: React.DragEventHandler;
+ onDragExit?: React.DragEventHandler;
+ onDragLeave?: React.DragEventHandler;
+ onDragOver?: React.DragEventHandler;
+ onDragStart?: React.DragEventHandler;
+ onDrop?: React.DragEventHandler;
+ onMouseDown?: React.MouseEventHandler;
+ onMouseEnter?: React.MouseEventHandler;
+ onMouseLeave?: React.MouseEventHandler;
+ onMouseMove?: React.MouseEventHandler;
+ onMouseOut?: React.MouseEventHandler;
+ onMouseOver?: React.MouseEventHandler;
+ onMouseUp?: React.MouseEventHandler;
+
+ // Selection Events
+ onSelect?: React.ReactEventHandler;
+
+ // Touch Events
+ onTouchCancel?: React.TouchEventHandler;
+ onTouchEnd?: React.TouchEventHandler;
+ onTouchMove?: React.TouchEventHandler;
+ onTouchStart?: React.TouchEventHandler;
+
+ // UI Events
+ onScroll?: React.UIEventHandler;
+
+ // Wheel Events
+ onWheel?: React.WheelEventHandler;
+ }
+
+
+
+ interface BadgeProps extends __MDLClassProps {
+ text: string | number;
+ className ?: string;
+ noBackground ?: boolean;
+ overlap ?: boolean;
+ }
+ class Badge extends __MDLComponent {}
+
+
+ interface ButtonProps extends __MDLOtherProps, RippleComponent, CustomRenderedComponent {
+ accent ?: boolean;
+ colored ?: boolean;
+ primary ?: boolean;
+ }
+ interface StandardButtonProps extends ButtonProps {
+ raised ?: boolean;
+ }
+ interface FABButtonProps extends ButtonProps {
+ mini ?: boolean;
+ }
+ interface IconButtonProps extends ButtonProps {
+ name ?: string;
+ raised ?: boolean;
+ }
+ class Button extends __MDLComponent {}
+ class FABButton extends __MDLComponent {}
+ class IconButton extends __MDLComponent {}
+
+
+ interface CardProps extends __MDLOtherProps, ShadowedComponent {}
+ interface CardActionProps extends __MDLOtherProps {
+ border ?: boolean;
+ }
+ interface CardTitleProps extends __MDLOtherProps {
+ expand ?: boolean;
+ }
+ class Card extends __MDLComponent {}
+ class CardActions extends __MDLComponent {}
+ class CardTitle extends __MDLComponent {}
+ class CardText extends __MDLBasicComponent {}
+ class CardMenu extends __MDLBasicComponent {}
+ class CardMedia extends __MDLBasicComponent {}
+
+
+ interface CheckboxProps extends __MDLOtherProps, RippleComponent {
+ checked ?: boolean;
+ disabled ?: boolean;
+ label ?: string;
+ }
+ class Checkbox extends __MDLComponent {}
+
+ interface UndecoratedTableProps extends __MDLClassProps, MDLHTMLAttributes, React.DOMAttributes, ShadowedComponent {
+ rows: Array;
+ rowKeyColumn ?: string;
+
+ name ?: string;
+ title ?: string;
+ }
+ interface TableProps extends UndecoratedTableProps {
+ sortable ?: boolean;
+ selectable ?: boolean;
+ onSelectionChanged ?: (row : any) => any;
+ }
+ interface TableHeaderProps extends __MDLClassProps, MDLHTMLAttributes, MDLDOMAttributes {
+ name : string;
+ title ?: string;
+ cellFormatter ?: (value : any, row : any, index : number) => React.ReactNode;
+ numeric ?: boolean;
+ nosort ?: boolean;
+ onClick ?: (e : React.MouseEvent, name : string) => any;
+ sortFn ?: (a : any, b : any, isAsc : boolean) => number;
+ tooltip ?: React.ReactNode;
+ }
+ class Table extends __MDLComponent {}
+ class TableHeader extends __MDLComponent {}
+ class UndecoratedTable extends __MDLComponent {}
+ class DataTable extends Table {}
+
+
+ interface DialogProps extends __MDLOtherProps {
+ open ?: boolean;
+ }
+ interface DialogActionsProps extends __MDLOtherProps {
+ fullWidth ?: boolean;
+ }
+ interface DialogTitleProps extends __MDLOtherProps, CustomRenderedComponent {}
+ class Dialog extends __MDLComponent {}
+ class DialogActions extends __MDLComponent {}
+ class DialogTitle extends __MDLComponent {}
+ class DialogContent extends __MDLBasicComponent {}
+
+
+ interface GridProps extends __MDLOtherProps, CustomRenderedComponent, ShadowedComponent {
+ noSpacing ?: boolean;
+ }
+ interface CellProps extends __MDLOtherProps, CustomRenderedComponent, ShadowedComponent {
+ col : number;
+ align ?: string;
+ phone ?: number;
+ tablet ?: number;
+ hideDesktop ?: boolean;
+ hidePhone ?: boolean;
+ hideTablet ?: boolean;
+ }
+ class Grid extends __MDLComponent {}
+ class Cell extends __MDLComponent {}
+
+
+ interface IconProps extends __MDLOtherProps {
+ name : string;
+ }
+ class Icon extends __MDLComponent {}
+
+
+ interface IconToggleProps extends __MDLOtherProps, RippleComponent {
+ name : string;
+ checked ?: boolean;
+ disabled ?: boolean;
+ }
+ class IconToggle extends __MDLComponent {}
+
+
+ interface ContentProps extends __MDLOtherProps, CustomRenderedComponent {}
+ interface DrawerProps extends __MDLOtherProps {
+ title ?: string;
+ }
+ interface HeaderProps extends __MDLOtherProps {
+ title ?: string;
+ scroll ?: boolean;
+ seamed ?: boolean;
+ transparent ?: boolean;
+ waterfall ?: boolean;
+ hideTop ?: boolean;
+ }
+ interface HeaderRowProps extends __MDLOtherProps {
+ title ?: string;
+ }
+ interface HeaderTabsProps extends __MDLOtherProps, RippleComponent {
+ activeTab ?: number;
+ onChange ?: React.FormEventHandler;
+ }
+ interface LayoutProps extends __MDLOtherProps {
+ fixedDrawer ?: boolean;
+ fixedHeader ?: boolean;
+ fixedTabse ?: boolean;
+ }
+ interface NavigationProps extends __MDLOtherProps {}
+ class Content extends __MDLComponent {}
+ class Drawer extends __MDLComponent {}
+ class Header extends __MDLComponent {}
+ class HeaderRow extends __MDLComponent {}
+ class HeaderTabs extends __MDLComponent {}
+ class Layout extends __MDLComponent {}
+ class Navigation extends __MDLComponent {}
+ class Spacer extends __MDLBasicComponent {}
+
+ interface FooterProps extends MDLHTMLAttributes, React.DOMAttributes {
+ size ?: string;
+
+ title ?: string;
+ }
+ interface FooterDropDownSectionProps extends MDLHTMLAttributes, React.DOMAttributes {
+ size ?: string;
+ title : React.ReactNode;
+ }
+ interface FooterLinkListProps extends MDLHTMLAttributes, React.DOMAttributes {
+ size ?: string;
+
+ title ?: string;
+ }
+ interface FooterSectionProps extends MDLHTMLAttributes, React.DOMAttributes {
+ size ?: string;
+ type ?: string;
+ logo ?: React.ReactNode;
+
+ title ?: string;
+ }
+ class Footer extends __MDLComponent {}
+ class FooterDropDownSection extends __MDLComponent {}
+ class FooterLinkList extends __MDLComponent {}
+ class FooterSection extends __MDLComponent {}
+
+ interface ListItemProps extends __MDLOtherProps {
+ twoLine ?: boolean;
+ threeLine ?: boolean;
+ }
+ interface ListItemActionProps extends __MDLOtherProps {
+ info ?: string;
+ }
+ interface ListItemContentProps extends MDLHTMLAttributes, React.DOMAttributes {
+ avatar ?: string | JSX.Element;
+ icon ?: string | JSX.Element;
+ subtitle ?: React.ReactNode;
+ useBodyClass ?: boolean;
+ }
+ class List extends __MDLBasicComponent {}
+ class ListItem extends __MDLComponent {}
+ class ListItemAction extends __MDLComponent {}
+ class ListItemContent extends __MDLComponent {}
+
+
+ interface MenuProps extends __MDLOtherProps, RippleComponent {
+ target : string;
+ align ?: string;
+ valign ?: string;
+ }
+ class Menu extends __MDLComponent {}
+ class MenuItem extends __MDLBasicComponent {}
+
+
+ interface ProgressBarProps extends __MDLOtherProps {
+ buffer ?: number;
+ indeterminate ?: boolean;
+ progress ?: number;
+ }
+ class ProgressBar extends __MDLComponent {}
+
+
+ interface RadioProps extends MDLHTMLAttributes, React.DOMAttributes, RippleComponent {
+ value : string | number;
+ checked ?: boolean;
+ disabled ?: boolean;
+ name ?: string;
+ onChange ?: React.FormEventHandler;
+ label ?: string;
+ }
+ interface RadioGroupProps extends MDLHTMLAttributes, React.DOMAttributes {
+ name : string;
+ value : string | number;
+ childContainer ?: string;
+ container ?: string;
+ onChange ?: React.FormEventHandler;
+ label ?: string;
+ }
+ class Radio extends __MDLComponent {}
+ class RadioGroup extends __MDLComponent {}
+
+
+ interface SliderProps extends MDLHTMLAttributes, React.DOMAttributes {
+ max : number;
+ min : number;
+ onChange ?: React.FormEventHandler;
+ value ?: number;
+ }
+ class Slider extends __MDLComponent {}
+
+
+ interface SnackbarProps extends __MDLOtherProps {
+ active : boolean;
+ onTimeout : () => any;
+ action ?: string;
+ onActionClick ?: React.MouseEventHandler;
+ timeout ?: number;
+ }
+ class Snackbar extends __MDLComponent {}
+
+
+ interface SpinnerProps extends __MDLOtherProps {
+ singleColor ?: boolean;
+ }
+ class Spinner extends __MDLComponent {}
+
+
+ interface SwitchProps extends __MDLOtherProps, RippleComponent {
+ checked ?: boolean;
+ disabled ?: boolean;
+ onChange ?: React.FormEventHandler;
+ }
+ class Switch extends __MDLComponent {}
+
+
+ interface TabProps extends __MDLOtherProps, CustomRenderedComponent {
+ active ?: boolean;
+ cssPrefix ?: string;
+ onTabClick ?: (tabId : number) => any;
+ tabId ?: number;
+ }
+ interface TabBarProps extends MDLHTMLAttributes, MDLDOMAttributes {
+ cssPrefix : string;
+ activeTab ?: number;
+ onChange ?: (tabId : number) => any;
+
+ name ?: string;
+ title ?: string;
+ onClick ?: React.MouseEventHandler;
+ }
+ interface TabsProps extends MDLHTMLAttributes, MDLDOMAttributes {
+ activeTab ?: number;
+ onChange ?: (tabId : number) => any;
+ tabBarProps ?: TabBarProps;
+
+ name ?: string;
+ title ?: string;
+ onClick ?: React.MouseEventHandler;
+ }
+ class Tab extends __MDLComponent {}
+ class TabBar extends __MDLComponent {}
+ class Tabs extends __MDLComponent {}
+
+
+ interface TextfieldProps extends MDLHTMLAttributes, React.DOMAttributes {
+ label : string;
+ disabled ?: boolean;
+ error ?: React.ReactNode;
+ expandable ?: boolean;
+ expandableIcon ?: string;
+ floatingLabel ?: boolean;
+ id ?: string;
+ inputClassName ?: string;
+ maxRows ?: number;
+ onChange ?: React.FormEventHandler;
+ pattern ?: string;
+ required ?: boolean;
+ rows ?: number;
+ value ?: string | number;
+
+ name ?: string;
+ title ?: string;
+ }
+ class Textfield extends __MDLComponent {}
+
+
+ interface TooltipProps extends MDLHTMLAttributes, React.DOMAttributes {
+ label : React.ReactNode;
+ large ?: boolean;
+ position ?: string;
+
+ name ?: string;
+ title ?: string;
+ }
+ class Tooltip extends __MDLComponent {}
+}
+
+declare module 'react-mdl' {
+ export = __ReactMDL;
+}
\ No newline at end of file