Skip to content

Commit

Permalink
Export LayoutAnimationConfig type
Browse files Browse the repository at this point in the history
Summary:
Can be handy for general animation components, like `FancySuspense`.

ChangeLog:
[General][Added] Export LayoutAnimationConfig flow type

Reviewed By: zackargyle, TheSavior

Differential Revision: D19345668

fbshipit-source-id: 26178d1eb0b6f710f652bf82c8095dec5bf5afbd
  • Loading branch information
sahrens authored and facebook-github-bot committed Jan 29, 2020
1 parent 3b55e1e commit f0dafd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/LayoutAnimation/LayoutAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type AnimationConfig = $ReadOnly<{|
property?: Property,
|}>;

type LayoutAnimationConfig = $ReadOnly<{|
export type LayoutAnimationConfig = $ReadOnly<{|
duration: number,
create?: AnimationConfig,
update?: AnimationConfig,
Expand Down

0 comments on commit f0dafd3

Please sign in to comment.