UNPKG

770 BTypeScriptView Raw
1import * as React from "react";
2import MediaBody = require("./MediaBody");
3import MediaHeading = require("./MediaHeading");
4import MediaLeft = require("./MediaLeft");
5import MediaList = require("./MediaList");
6import MediaListItem = require("./MediaListItem");
7import MediaRight = require("./MediaRight");
8
9declare namespace Media {
10 export interface MediaProps extends React.HTMLProps<Media> {
11 componentClass?: React.ElementType | undefined;
12 }
13}
14declare class Media extends React.Component<Media.MediaProps> {
15 static Body: typeof MediaBody;
16 static Heading: typeof MediaHeading;
17 static Left: typeof MediaLeft;
18 static Right: typeof MediaRight;
19 static List: typeof MediaList;
20 static ListItem: typeof MediaListItem;
21}
22export = Media;