Zoomable and Selectable
Content roles for a zoomable region or selectable text.
tsx
import { Selectable, Zoomable, Image } from '@satinhq/kit'Example
Allow text selection
Wrap readable text in Selectable. Text inputs own their editing behavior separately.
Own a zoom region
Zoomable owns pinch zoom for its children. maxScale bounds the scale, and onScaleChange reports it. Try touch gestures in the installed app.
API
Scroll horizontally to read every column.
| Prop | Type | Description |
|---|---|---|
children | ReactNode | The owned content. |
maxScale | number | Maximum zoom scale. |
onScaleChange | (scale: number) => void | Receives scale changes. |
Related: Quick start, List, Screen.
:::