Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
pcln-icons
Advanced tools
Priceline React icons based on Material Design Icons
npm i pcln-icons
import React from 'react'
import { Flights as FlightsIcon } from 'pcln-icons'
export default (props) => <FlightsIcon mr={2} />
For a complete list of all icons, see: the iconography docs
BREAKING CHANGE: The Icon
component has been removed from core
(pcln-design-system
) in v3.0.0. The optimal
approach is to use named imports from pcln-icons
. If you need an <Icon>
component that supports a name
prop, you can use:
import React from 'react'
import { Icon } from 'pcln-icons'
export default (props) => <Icon name={iconName} mr={2} />
Note: Exports from pcln-icons
rely on values from theme
, so they must be descendents of <ThemeProvider>
in order to work properly. Otherwise, you might experience errors like this:
Uncaught TypeError: Cannot read property '3' of undefined
Custom icon SVGs are included in the svg/
directory.
To build the icons locally, run:
npm run prepare
Run tests:
npm test
svg/ Source for custom SVG icons
src/ Source for wrapper Icon component
components/ React components for icons
test/ Unit tests
FAQs
Priceline React icons based on Material Design Icons
The npm package pcln-icons receives a total of 1,139 weekly downloads. As such, pcln-icons popularity was classified as popular.
We found that pcln-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.