Options
All
  • Public
  • Public/Protected
  • All
Menu

Khannotations

Index

Type aliases

AnimationStrategy

Define how a component should be animated.

Can be any of the following types:

Generally, use AnimationStrategySpeed instead of AnimationStrategyDuration to make your animations more responsive and localizable.

BowingStrategy

Define how to resolve how bowed (curved) the underline is.

Variables

Const ConnectToAnimationGroup

ConnectToAnimationGroup: ExoticComponent<ConsumerProps<null | AnimationGroup>> = AnimationGroupContext.Consumer

Pass a parent or grand-parent AnimationGroup to the child.

Components that implement Animate can use this to get access to an AnimationGroup that they are rendered inside.

If there is no such AnimationGroup, this component passes null instead.

Example use:

<ConnectToAnimationGroup>
    {group => <AnimatedLineDrawing group={group} {...props} />}
</ConnectToAnimationGroup>

Generated using TypeDoc