0.0.2 • Published 3 years ago

absui-hooks v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

absui-hooks

AbsUI Custom Hooks Module for React

NPM JavaScript Style Guide

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

absui-core absui-icons

License

MIT © abschill

0.0.2

3 years ago

0.0.1

3 years ago