🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-native-thumbnail-selector

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-thumbnail-selector

A thumbnail selector.

5.3.0
latest
Source
npm
Version published
Weekly downloads
165
142.65%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-thumbnail-selector

Platform npm npm License CI

Table of contents

Installation

yarnyarn add react-native-thumbnail-selector
npmnpm install react-native-thumbnail-selector --save

Support

react versionreact-native versionpackage versionreason
v16.8.0v0.61.0>=3.0.0React hooks and usage of useWindowDimensions

Demo

screenshot

Usage

import React from 'react';
import {Animated} from 'react-native';
import ThumbnailSelector from 'react-native-thumbnail-selector';

const thumbnails = [
  {
    caption: 'react-native',
    imageSrc: {uri: 'https://reactnative.dev/img/pwa/manifest-icon-512.png'},
  },
  {
    caption: 'Dolore do magna ullamco nisi quis.',
    imageSrc: {uri: 'https://reactnative.dev/img/pwa/manifest-icon-512.png'},
  },
];

function Example() {
  // use toggle to show and hide ThumbnailSelector
  let toggle = () => new Promise<Animated.EndResult>(res => res);

  return (
    <ThumbnailSelector
      thumbnails={thumbnails}
      toggle={func => (toggle = func)}
    />
  );
}

export default Example;

Keywords

thumbnail

FAQs

Package last updated on 12 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts