UNPKG

520 BTypeScriptView Raw
1import * as React from 'react';
2import { CSSModule } from './utils';
3
4export interface MediaProps extends React.HTMLAttributes<HTMLElement> {
5 [key: string]: any;
6 body?: boolean;
7 bottom?: boolean;
8 cssModule?: CSSModule;
9 heading?: boolean;
10 left?: boolean;
11 list?: boolean;
12 middle?: boolean;
13 object?: boolean;
14 right?: boolean;
15 tag?: React.ElementType;
16 top?: boolean;
17 src?: string;
18 href?: string;
19 alt?: string;
20}
21
22declare class Media extends React.Component<MediaProps> {}
23export default Media;