UNPKG

@proyecto26/animatable-component

Version:
9 lines (8 loc) • 852 B
import { FunctionalComponent, ComponentInterface } from '../stencil-public-runtime'; import { JSXBase, HTMLStencilElement } from '../stencil-public-runtime'; import { JSX } from '../components'; /** * HOC to wrap components with Animatable component * @param WrappedComponent - Component to be animated with Animatable component */ export declare function createAnimatableComponent<Props>(WrappedComponent: FunctionalComponent): (props: Props & ComponentInterface & JSX.AnimatableComponent & JSXBase.HTMLAttributes<HTMLElement> & JSXBase.HTMLAttributes<HTMLStencilElement> & JSXBase.HTMLAttributes<HTMLAnimatableComponentElement>) => FunctionalComponent<Props & ComponentInterface & JSX.AnimatableComponent & JSXBase.HTMLAttributes<HTMLElement> & JSXBase.HTMLAttributes<HTMLStencilElement> & JSXBase.HTMLAttributes<HTMLAnimatableComponentElement>>;