Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keyvaluesoftwaresystems/react-native-scribble


https://github.com/keyvaluesoftwaresystems/react-native-scribble

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# react-native-scribble

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

## Installation

```sh
npm i @keyvaluesystems/react-native-scribble
```

## Usage

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

const handleFileGeneration = async () => {
const filePath = await getFilePath();
};
// ...
return (
<>



>
);
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)