Usage

Run animations at the same time.

tsx
// Run animations at the same time.
import { Box, fade, parallel, slide, zoom } from 'kuito';

<Box enter={parallel(fade, slide.up(12), zoom())} />; // same as fade.and(slide.up(12)).and(zoom())

Signatures

ts
(...effects: Effect[]): Effect

Parameters

NameTypeRequiredDescription
...effectsEffect[]Yes—

Returns

Effect

Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.