Usage

Fade a view on entry or removal.

tsx
// Fade a view on entry or removal.
import { Box, fade, slide, spring } from 'kuito';

<Box enter={fade.and(slide.up(12))} exit={fade} layout={spring()} />;

Properties and methods 1

NameTypeRequiredDescription
and(other: Effect) => EffectYesThis effect and other at once.
and — method signatures

Signatures

ts
(other: Effect): Effect

Parameters

NameTypeRequiredDescription
otherEffectYes—

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.