Skip to content

Commit

Permalink
[core] Fix some errors when porting demos to TypeScript (#12417)
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelPZ authored and oliviertassinari committed Aug 6, 2018
1 parent 876cc40 commit a632bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Input/Input.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface InputProps
multiline?: boolean;
name?: string;
placeholder?: string;
readOnly?: boolean;
required?: boolean;
rows?: string | number;
rowsMax?: string | number;
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/Popper/Popper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export type PopperPlacementType =
export interface PopperProps extends React.HTMLAttributes<HTMLDivElement> {
transition?: boolean;
anchorEl?: null | HTMLElement | ReferenceObject | ((element: HTMLElement) => HTMLElement);
children: (
children: React.ReactNode | ((
props: {
placement: PopperPlacementType;
TransitionProps?: TransitionProps;
},
) => React.ReactElement<any>;
) => React.ReactNode);
container?: PortalProps['container'];
disablePortal?: PortalProps['disablePortal'];
keepMounted?: boolean;
Expand Down

0 comments on commit a632bc9

Please sign in to comment.