Socket
Socket
Sign inDemoInstall

absui-hooks

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    absui-hooks

AbsUI Custom Hooks Module for React


Version published
Maintainers
1
Created

Readme

Source

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

FAQs

Last updated on 05 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc