Utilisation

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()} />;

Propriétés et méthodes 1

NomTypeRequisDescription
and(other: Effect) => EffectOuiThis effect and other at once.
and — signatures de méthode

Signatures

ts
(other: Effect): Effect

Paramètres

NomTypeRequisDescription
otherEffectOui—

Retourne

Effect

Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.