Skip to content

Commit

Permalink
[Slide] Mark direction as optional in TypeScript (#20338)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimgm authored Mar 30, 2020
1 parent 964f9ab commit ef1751b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Slide/Slide.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TransitionProps } from '../transitions/transition';

export interface SlideProps extends TransitionProps {
children?: React.ReactElement<any, any>;
direction: 'left' | 'right' | 'up' | 'down';
direction?: 'left' | 'right' | 'up' | 'down';
ref?: React.Ref<unknown>;
theme?: Theme;
}
Expand Down

0 comments on commit ef1751b

Please sign in to comment.