Skip to content

Conversation

Maxim-Mazurok
Copy link
Contributor

Adds duration prop for the <transition /> component.

See Explicit Transition Durations

Should resolve this error:

Type '{ duration: number; }' is not assignable to type 'CombinedTsxComponentAttrs<TransitionProps, {}, {}, {}, {}, true>'.
  Property 'duration' does not exist on type 'CombinedTsxComponentAttrs<TransitionProps, {}, {}, {}, {}, true>'.ts(2322)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant