Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@tamagui/lucide-icons
Advanced tools
React Native components for Lucide icons - native and web
This repository is a copy of the React Feather project.
The main difference between them is that this project outputs React Native SVG components that will render on React Native platforms.
npm install @tamagui/lucide-icons --save
You will also need to ensure you have installed React Native SVG into your project.
import { Camera } from '@tamagui/lucide-icons';
class MyClass extends React.Component {
render() {
return <Camera />
}
}
If you are using WebPack, you can import only one icon.
import Camera from '@tamagui/lucide-icons/dist/icons/camera';
class MyClass extends React.Component {
render() {
return <Camera />
}
}
If you can't use ES6 imports, it's possible to include icons from the compiled folder ./dist.
var Camera = require('@tamagui/lucide-icons/dist/icons/camera').default;
var MyComponent = React.createClass({
render: function () {
return (
<Camera />
);
}
});
You can also include the whole icon pack:
import * as Icon from '@tamagui/lucide-icons';
class MyClass extends React.Component {
render() {
return <Icon.Camera />
}
}
Icons can be configured with inline props:
<Icon.AlertCircle color="red" size={48} />
FAQs
React Native components for Lucide icons - native and web
The npm package @tamagui/lucide-icons receives a total of 10,132 weekly downloads. As such, @tamagui/lucide-icons popularity was classified as popular.
We found that @tamagui/lucide-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.