Skip to content

Commit

Permalink
[typescript] Add image to CardMediaProps (#8033)
Browse files Browse the repository at this point in the history
Closes #8018
  • Loading branch information
sebald authored Sep 4, 2017
1 parent 81c503a commit 6786aad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Card/CardMedia.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import * as React from 'react';
import { StyledComponent } from '..';

export interface CardMediaProps extends React.HTMLAttributes<HTMLDivElement> {}
export interface CardMediaProps extends React.HTMLAttributes<HTMLDivElement> {
image: string;
}

export default class CardMedia extends StyledComponent<CardMediaProps> {}

0 comments on commit 6786aad

Please sign in to comment.