Socket
Socket
Sign inDemoInstall

spurs-react-seekbar

Package Overview
Dependencies
5
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spurs-react-seekbar

UI component for selecting values by dragging a bar


Version published
Maintainers
1
Install size
4.09 kB
Created

Readme

Source

react-seekbar

UI component for selecting values by dragging a bar

Preview

installation

  npm install react-seekbar
  
  yarn add react-seekbar

Usage

docs and example usage can be found here

import { useState } from 'react';
import { Seekbar } from 'react-seekbar';

export default function YourComponent() {
  const [position, setPosition] = useState(0);

  const handleSeek = (position) => {
    setPosition(position);
  };

  return <Seekbar position={position} duration={100000} onSeek={handleSeek} />;
}

Keywords

FAQs

Last updated on 22 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc