Skip to content

Commit

Permalink
[Slide] Mark direction as optional in TypeScript (mui#20338)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimgm authored and EsoterikStare committed Mar 30, 2020
1 parent 9e8996d commit a8dfe23
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 a8dfe23

Please sign in to comment.