Options
All
  • Public
  • Public/Protected
  • All
Menu

React All The Things - API Reference

Index

Type aliases

UseInputVisibility: [type: HTMLInputElement["type"], toggleVisibility: () => void]

Functions

  • useKeyPress(action: () => unknown, keyCode: string): void
  • Choose the key you want to respond and pass it an action, a function of any kind.

    Parameters

    • action: () => unknown
        • (): unknown
        • Returns unknown

    • keyCode: string

    Returns void

Generated using TypeDoc