Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/ui-focusable

Package Overview
Dependencies
Maintainers
32
Versions
1900
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-focusable

A utility used to identify when an element receives focus.

  • 6.24.1-rc.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.5K
decreased by-55.79%
Maintainers
32
Weekly downloads
 
Created
Source

category: packages

ui-focusable

npm  build-status  MIT License  Code of Conduct

A utility used to identify when an element receives focus.

Components

The ui-focusable package contains the following:

  • Focusable

Installation

yarn add @instructure/ui-focusable

Usage

import React from 'react'
import { Focusable } from '@instructure/ui-focusable'

const MyFocusableElement = () => {
  return (
    <Focusable>
    {({ focused }) => (
      <FocusableView focused={focused}>
        Hello! Focus me!
      </FocusableView>
    )}
    </Focusable>
  )
}

FAQs

Package last updated on 23 Apr 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc