diff --git a/packages/material-ui/src/Input/Input.d.ts b/packages/material-ui/src/Input/Input.d.ts index 535d313e2bdada..f0a300a9e7972c 100644 --- a/packages/material-ui/src/Input/Input.d.ts +++ b/packages/material-ui/src/Input/Input.d.ts @@ -23,6 +23,7 @@ export interface InputProps multiline?: boolean; name?: string; placeholder?: string; + readOnly?: boolean; required?: boolean; rows?: string | number; rowsMax?: string | number; diff --git a/packages/material-ui/src/Popper/Popper.d.ts b/packages/material-ui/src/Popper/Popper.d.ts index d4d7642f875551..ec04cbf94d172a 100644 --- a/packages/material-ui/src/Popper/Popper.d.ts +++ b/packages/material-ui/src/Popper/Popper.d.ts @@ -20,12 +20,12 @@ export type PopperPlacementType = export interface PopperProps extends React.HTMLAttributes { transition?: boolean; anchorEl?: null | HTMLElement | ReferenceObject | ((element: HTMLElement) => HTMLElement); - children: ( + children: React.ReactNode | (( props: { placement: PopperPlacementType; TransitionProps?: TransitionProps; }, - ) => React.ReactElement; + ) => React.ReactNode); container?: PortalProps['container']; disablePortal?: PortalProps['disablePortal']; keepMounted?: boolean;