Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
indoqa-rebass-components
Advanced tools
A collection of additional rebass components:
<List>
and <ListItem>
: Ordered and unordered lists with default padding/margin settings and configurable listStyleType.<Anchor />
and <AnchorLink />
: Jump to anchors on the same page.<FontAwesome />
: FontAwesome icons with configurable color and size.<Div />
and <Span />
: Simple div/span components with the benefits of withRebass()
see https://indoqa.github.io/indoqa-rebass-components/
import React from 'react'
import {Space} from 'rebass'
import {Div, List, ListItem} from 'indoqa-rebass-components'
const ListExample = () => (
<Div>
<List>
<ListItem> item 1 </ListItem>
<ListItem> item 2 </ListItem>
<ListItem> item 3 </ListItem>
<ListItem> item 4 </ListItem>
</List>
<Space y={1} />
<List itemType="circle">
<ListItem> item 1 </ListItem>
<ListItem> item 2 </ListItem>
<ListItem> item 3 </ListItem>
<ListItem> item 4 </ListItem>
</List>
<Space y={1} />
<List ordered>
<ListItem> item 1 </ListItem>
<ListItem> item 2 </ListItem>
<ListItem> item 3 </ListItem>
<ListItem> item 4 </ListItem>
</List>
<Space y={1} />
<List ordered itemType="lower-alpha">
<ListItem> item 1 </ListItem>
<ListItem> item 2 </ListItem>
<ListItem> item 3 </ListItem>
<ListItem> item 4 </ListItem>
</List>
</Div>
)
export default ListExample
import React from 'react'
import {Anchor. AnchorLink, Div} from 'indoqa-rebass-components'
const Page = () => (
<Div>
<AnchorLink to="section2"> Jump to section 2 </AnchorLink>
.......
.......
.......
<Anchor id="section2"/>
Here starts section 2!
</Div>
)
export default Page
import React from 'react'
import {FontAwesome} from 'indoqa-rebass-components'
import 'font-awesome/css/font-awesome.css'
const ThumbsUpBigRedIcon = () => (
<FontAwesome icon="thumbs-o-up" color="red" size="30px" />
)
export default ThumbsUpBigRedIcon
Note: The font-awesome css is treated as optional provided dependency. It is not included in indoqa-rebass-components. Use npm package 'font-awesome' in your app.
Play around with our live demo locally:
git clone git@github.com:Indoqa/indoqa-rebass-components.git
cd indoqa-rebass-components
npm install
npm start
Point your browser to http://localhost:3000 and edit pages in src/playground. Hot reloading is enabled by default.
FAQs
A collection of additional rebass components:
We found that indoqa-rebass-components demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.