UNPKG

@payfit/unity-illustrations

Version:

37 lines (33 loc) • 975 B
// AUTO-GENERATED FILE. DO NOT EDIT. // Source: Type=Animation,Name=plant.webp (Animated WEBP - 224x224) import assetUrl from './assets/PlantAnimation.webp' import type { IllustrationAsset, BaseAnimatedImageAsset } from './types' export type PlantAnimationAsset = IllustrationAsset<BaseAnimatedImageAsset & { readonly name: 'PlantAnimation' }> /** * PlantAnimation animated illustration asset (224x224) * @example * ```tsx * import { Illustration } from '@payfit/unity-illustrations' * import PlantAnimation from '@payfit/unity-illustrations/assets/PlantAnimation' * * <Illustration * variant="picture" * src={PlantAnimation} * alt="Plant animation" * /> * ``` */ const PlantAnimation: PlantAnimationAsset = { type: 'image', url: assetUrl, urls: { default: assetUrl, }, animated: true, dimensions: { width: 224, height: 224 }, category: 'animation', name: 'PlantAnimation', } as PlantAnimationAsset export default PlantAnimation