Skip to content

Commit ef1751b

Browse files
authored
[Slide] Mark direction as optional in TypeScript (#20338)
1 parent 964f9ab commit ef1751b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui/src/Slide/Slide.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { TransitionProps } from '../transitions/transition';
44

55
export interface SlideProps extends TransitionProps {
66
children?: React.ReactElement<any, any>;
7-
direction: 'left' | 'right' | 'up' | 'down';
7+
direction?: 'left' | 'right' | 'up' | 'down';
88
ref?: React.Ref<unknown>;
99
theme?: Theme;
1010
}

0 commit comments

Comments
 (0)