Updated material-ui.d.ts (#8881)

Added DOMAttributes to FlatButton and Dialog properties.
This commit is contained in:
ArtemZag
2016-04-12 16:05:00 +03:00
committed by Masahiro Wakame
parent f82347d1cb
commit 5ef5579fae

View File

@@ -576,7 +576,7 @@ declare namespace __MaterialUI {
export class EnhancedButton extends React.Component<EnhancedButtonProps, {}> {
}
interface FlatButtonProps extends SharedEnhancedButtonProps<FlatButton> {
interface FlatButtonProps extends React.DOMAttributes, SharedEnhancedButtonProps<FlatButton> {
// <EnhancedButton/> is the element that get the 'other' properties
backgroundColor?: string;
disabled?: boolean;
@@ -843,7 +843,7 @@ declare namespace __MaterialUI {
ref?: string;
text: string;
}
interface DialogProps extends React.Props<Dialog> {
interface DialogProps extends React.DOMAttributes, React.Props<Dialog> {
/** @deprecated use a custom `actions` property instead */
actionFocus?: string;
actions?: Array<DialogAction | React.ReactElement<any>>;