
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@gov.au/link-list
Advanced tools
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.
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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.