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

@oracle/oraclejet-preact-icons

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oracle/oraclejet-preact-icons

This package contains all of the Redwood icons available as Preact components.

  • 17.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-88.24%
Maintainers
0
Weekly downloads
 
Created
Source

@oracle/oraclejet-preact-icons

This package contains all of the Redwood icons available as Preact components.

Usage

Import the icons using the form

import { Accessibility } from '@oracle/oraclejet-preact-icons/UNSAFE_RedwoodIcons/Accessibility';

And use them in your Preact app with

<div><Accessibility accessibleLabel={"My accessible label"} /></div>

Bundlers

Depending on the bundler you use, importing and resolving the icons should just work, however, there are older bundlers that may need some additional configuration.

For instance, Webpack 4 will require additional mappings to locate the code:

module.exports = {
  resolve: {
    alias: {
      '@oracle/oraclejet-preact-icons': '@oracle/oraclejet-preact-icons/es',
      '@oracle/oraclejet-preact/UNSAFE_Icon$': '@oracle/oraclejet-preact/es/UNSAFE_Icon.js',
      '@oracle/oraclejet-preact': '@oracle/oraclejet-preact/es'
    }
  }
};

FAQs

Package last updated on 20 Dec 2024

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