Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@c2fo/components
Advanced tools
C2FO's shared TypeScript and React component library based on [Material-UI](https://material-ui.com/)
C2FO's shared TypeScript and React component library based on Material-UI
👋 If you’re new to TypeScript and React, checkout this cheatsheet
Install via npm
$ npm i @c2fo/components --save
Import in your react and typescript app
// TextButton.js
import React from 'react'
import { Button } from '@c2fo/components'
interface TextButtonProps {
text: string;
}
export const TextButton: React.FC<TextButtonProps> = props => {
return <Button>{props.text}</Button>
}
Alongside development is convenient, but requires you to edit dependencies in both @c2fo/components
and your app.
🧠 Remember you'll have to restore each project with the commands below to release or build your app remotely
$ npm un react react-dom --save-dev
$ npm link
$ cd ../my-app
$ npm un @c2fo/components --save
$ npm link @c2fo/components
$ npm unlink
$ npm i react react-dom --save-dev
# Release your changes, or ask for help doing this (see 'Releasing' section)
$ cd ../my-app
$ npm unlink @c2fo/components
$ npm i @c2fo/components --save
Start the storybook to develop components without your app
$ npm run storybook
Please see the documentation under the doc
folder.
npm
Use np for an interactive walkthrough with validation and test running
$ np
🥾 This library was bootstrapped with TSDX
TODO: Doucment responsible teams/people and a process
FAQs
(DEPRECATED) C2FO React Component Library
The npm package @c2fo/components receives a total of 6 weekly downloads. As such, @c2fo/components popularity was classified as not popular.
We found that @c2fo/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.