Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keyvaluesoftwaresystems/react-native-scribble
https://github.com/keyvaluesoftwaresystems/react-native-scribble
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/keyvaluesoftwaresystems/react-native-scribble
- Owner: KeyValueSoftwareSystems
- License: mit
- Created: 2023-10-10T12:34:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-29T10:40:27.000Z (8 months ago)
- Last Synced: 2024-11-07T06:43:39.315Z (9 days ago)
- Language: TypeScript
- Size: 2.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
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)