saltovo
v1.0.4-beta.1
Published
saltovo's hooks
Downloads
39
Readme
saltovo
saltovo's hooks
Install
npm install --save saltovo
Usage
import React, { useState } from 'react'
import { useTableHooks } from 'saltovo'
const Example = () => {
const [payload, setPayload] = useState({})
const { loading, res } = useTableHooks(token)(payload, url, method)
return (
<div>
{loading}
{res}
</div>
)
}
License
This hook is created using create-react-hook.