Package Exports
- tweak-tools
- tweak-tools/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tweak-tools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tweak-tools
Easy tweaking for your React projects to customize until greatness 🦄 🚀
Installation
npm i tweak-tools
Quick start
Simply call the useTweaks
hook from anywhere in your app:
import { useTweaks } from 'tweak-tools'
function MyComponent() {
const { name, count } = useTweaks({ name: 'World', count: 0 })
return (
<div>
Hey {name}, hello! {count}
</div>
)
}