Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@gov.au/link-list
Advanced tools
Readme
A simple list of inline links..
yarn add @gov.au/link-list
npm install @gov.au/link-list
Usage:
import AUlinkList from './link-list.js';
<AUlinkList items={[
{
link: 'link/one/',
text: 'Link 1',
},
{
link: 'link/two/',
text: 'Link 2',
className: 'is-active',
li: {
className: 'li-wrapping-class',
},
},
{
text: 'Link 3',
onClick: () => console.log('You clicked me!'),
},
{
linkComponent: 'a',
link: 'link/four/',
text: 'Link 4',
},
]} />
All props:
<AUlinkList
inline={ false } {/* The inline option to make the list inline, optional */}
linkComponent="a" {/* The component used for the link, optional */}
items={[ {/* All links in a neat array */}
{
link: 'link/to/', {/* The link for this item, optional */}
linkComponent: 'a', {/* The component used for the link, optional */}
text: 'Link title', {/* The text for this item */}
li: {}, {/* An object that will be spread onto the <li> tag, optional */}
onClick={ () => {} } {/* A function to execute when this link is clicked, optional */}
},
]},
/>
(💡 additional props are spread onto the component)
For more details have a look at the usage example.
link-list
├─ core
└─ body
└─ core
The visual test: https://auds.service.gov.au/packages/link-list/tests/site/
onClick
event handler propFragment
React importCopyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
A simple list of inline links.
The npm package @gov.au/link-list receives a total of 32 weekly downloads. As such, @gov.au/link-list popularity was classified as not popular.
We found that @gov.au/link-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.