Socket
Socket
Sign inDemoInstall

@keyvaluesystems/react-native-scribble

Package Overview
Dependencies
2
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @keyvaluesystems/react-native-scribble

React native package to capture user scribbling on screen and convert it to an svg image


Version published
Weekly downloads
2
increased by100%
Maintainers
6
Created
Weekly downloads
 

Readme

Source

react-native-scribble

React native package to capture user scribbling on screen and converting it to an svg image

Installation

npm i @keyvaluesystems/react-native-scribble

Usage

import { SvgCapture ,useSvgCapture } from '@keyvaluesystems/react-native-scribble';
  // ...
  const signatureProps = useSvgCapture();
  const { clearPad, getFilePath } = signatureProps;

  const handleFileGeneration = async () => {
    const filePath = await getFilePath();
  };
  // ...
  return (
    <>
      <SvgCapture {...signatureProps} />
      <Button title="Clear" onClick={clearPad} />
      <Button title="Save" onClick={handleFileGeneration} />
    </>
  );

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Keywords

FAQs

Last updated on 16 Oct 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