0.0.2 • Published 3 years ago
absui-hooks v0.0.2
absui-hooks
AbsUI Custom Hooks Module for React
Install
npm install --save absui-hooks
Usage
import React from 'react'
import { useTheme } from 'absui-hooks'
const App = () => {
const { theme } = useTheme({ color: "cool", variant: 0, spacing: "sm" });
React.useEffect(() => console.log(theme), [theme])
return <h1>Hello</h1>
}
export default App
Other AbsUI Packages
License
MIT © abschill