mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Get tests passing again
This commit is contained in:
4
react-mdl/index.d.ts
vendored
4
react-mdl/index.d.ts
vendored
@@ -395,7 +395,7 @@ declare namespace __ReactMDL {
|
||||
title ?: string;
|
||||
}
|
||||
interface HeaderProps extends __MDLOtherProps {
|
||||
title ?: string;
|
||||
title ?: any; // string | JSX.Element
|
||||
scroll ?: boolean;
|
||||
seamed ?: boolean;
|
||||
transparent ?: boolean;
|
||||
@@ -412,7 +412,7 @@ declare namespace __ReactMDL {
|
||||
interface LayoutProps extends __MDLOtherProps {
|
||||
fixedDrawer ?: boolean;
|
||||
fixedHeader ?: boolean;
|
||||
fixedTabse ?: boolean;
|
||||
fixedTabs ?: boolean;
|
||||
}
|
||||
interface NavigationProps extends __MDLOtherProps {}
|
||||
class Content extends __MDLComponent<ContentProps> {}
|
||||
|
||||
@@ -166,7 +166,7 @@ React.createClass({
|
||||
<Card shadow={0} style={{width: '256px', height: '256px', background: 'url(http://www.getmdl.io/assets/demos/image_card.jpg) center / cover', margin: 'auto'}}>
|
||||
<CardTitle expand />
|
||||
<CardActions style={{height: '52px', padding: '16px', background: 'rgba(0,0,0,0.2)'}}>
|
||||
<span style={{color: '#fff', fontSize: '14px', fontWeight: '500'}}>
|
||||
<span style={{color: '#fff', fontSize: '14px', fontWeight: 500 }}>
|
||||
Image.jpg
|
||||
</span>
|
||||
</CardActions>
|
||||
@@ -310,8 +310,8 @@ React.createClass({
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<Button colored onClick={this.handleOpenDialog} onCancel={this.handleCloseDialog} raised ripple>Show Dialog</Button>
|
||||
<Dialog open={this.state.openDialog} onCancel={this.handleCloseDialog}>
|
||||
<Button colored onClick={this.handleOpenDialog} onAbort={this.handleCloseDialog} raised ripple>Show Dialog</Button>
|
||||
<Dialog open={this.state.openDialog} onAbort={this.handleCloseDialog}>
|
||||
<DialogTitle>Allow data collection?</DialogTitle>
|
||||
<DialogContent>
|
||||
<p>Allowing us to collect data will let us get you the information you want faster.</p>
|
||||
|
||||
Reference in New Issue
Block a user