1.0.0 • Published 1 year ago
adoptme-hook v1.0.0
Instructions to run
Must have node, npm/yarn installed
npm install
npm run dev
Usage
- Import the package in your app:
import {useAdoptMe} from 'adoptme-hook';
- Get the animal information from the hook:
const {loading,error,animal} = useAdoptMe('name')
1.0.0
1 year ago