This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@odigos/ui-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.45 • Public • Published

Odigos UI Utils

This library contains the utils for all Odigos UI libraries (ui-icons, ui-components, ui-containers).

Installation

Using npm:

npm i @odigos/ui-utils

Using yarn:

yarn add @odigos/ui-utils

Usage

Import a util, and call it with it's params:

import { useKeyDown } from '@odigos/ui-utils'

const App = () => {
  useKeyDown(
    {
      key: 'Enter',
      active: true,
    },
    () => {
      console.log('key pressed')
    }
  )

  return <div>hi mom</div>
}

Readme

Keywords

none

Package Sidebar

Install

npm i @odigos/ui-utils

Weekly Downloads

57

Version

0.0.45

License

none

Unpacked Size

1.41 MB

Total Files

80

Last publish

Collaborators

  • amir-odigos
  • benodigos
  • keyval-alon