zoom
Grows from scale (0.85 by default) as it enters, shrinks to it as it leaves.
Usage
Scale a view during entry or removal.
// Scale a view during entry or removal.
import { Box, zoom } from 'kuito';
<Box enter={zoom(0.85)} exit={zoom()} />;Signatures
(scale?: number): EffectParameters
| Name | Type | Required | Description |
|---|---|---|---|
scale | number | No | — Default: 0.85 |
Returns
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.