Skip to content

Commit

Permalink
style(Confirm): update typings (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored and levithomason committed Mar 12, 2017
1 parent 05f4a30 commit d619ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/addons/Confirm/Confirm.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { ModalProps } from '../../modules/Modal/Modal';

interface ConfirmProps {
interface ConfirmProps extends ModalProps {
/** The cancel button text. */
cancelButton?: any;

Expand Down
2 changes: 1 addition & 1 deletion src/modules/Modal/Modal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { default as ModalContent } from './ModalContent';
import { default as ModalDescription } from './ModalDescription';
import { default as ModalHeader } from './ModalHeader';

interface ModalProps extends PortalProps {
export interface ModalProps extends PortalProps {
[key: string]: any;

/** An element type to render as (string or function). */
Expand Down

0 comments on commit d619ed2

Please sign in to comment.