UNPKG

react-native-story-widget

Version:

A React Native story widget component with carousel functionality

16 lines (15 loc) 494 B
import React from 'react'; import { type ImageStyle, type StyleProp } from 'react-native'; interface ImageProps { url: string; style: StyleProp<ImageStyle>; maxTime?: number; active?: boolean; paused?: boolean; onProgress: ({ currentTime, seekableDuration, }: { currentTime: number; seekableDuration: number; }) => void; } export default function Image({ url, style, maxTime, active, paused, onProgress, }: ImageProps): React.JSX.Element; export {};