mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
fixed indenting and made MediaClass attributes mandatory
This commit is contained in:
parent
9f0e62c22f
commit
5ea018ec97
14
react-bootstrap/react-bootstrap.d.ts
vendored
14
react-bootstrap/react-bootstrap.d.ts
vendored
@ -1071,7 +1071,7 @@ declare module "react-bootstrap" {
|
||||
}
|
||||
class Position extends React.Component<PositionProps, {}> {
|
||||
}
|
||||
// <Media.Left />
|
||||
// <Media.Left />
|
||||
interface MediaLeftProps {
|
||||
align?: string;
|
||||
}
|
||||
@ -1117,12 +1117,12 @@ declare module "react-bootstrap" {
|
||||
componentClass?: React.ReactType;
|
||||
}
|
||||
interface MediaClass extends React.ClassicComponentClass<MediaProps> {
|
||||
Left?: typeof MediaLeft;
|
||||
Right?: typeof MediaRight;
|
||||
Heading?: typeof MediaHeading;
|
||||
Body?: typeof MediaBody;
|
||||
List?: typeof MediaList;
|
||||
ListItem?: typeof MediaListItem;
|
||||
Left: typeof MediaLeft;
|
||||
Right: typeof MediaRight;
|
||||
Heading: typeof MediaHeading;
|
||||
Body: typeof MediaBody;
|
||||
List: typeof MediaList;
|
||||
ListItem: typeof MediaListItem;
|
||||
}
|
||||
type Media = React.ClassicComponent<MediaProps, {}>;
|
||||
var Media: MediaClass;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user