Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@c2fo/components

Package Overview
Dependencies
Maintainers
5
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c2fo/components

C2FO's shared TypeScript and React component library based on [Material-UI](https://material-ui.com/)

  • 0.0.4-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-77.78%
Maintainers
5
Weekly downloads
 
Created
Source

🧱 @c2fo/components

C2FO's shared TypeScript and React component library based on Material-UI

👋 If you’re new to TypeScript and React, checkout this cheatsheet

Using

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>
}

Developing alongside your app

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

Setup

$ npm un react react-dom --save-dev

$ npm link

$ cd ../my-app

$ npm un @c2fo/components --save

$ npm link @c2fo/components

Restore

$ 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

Developing standalone

Start the storybook to develop components without your app

$ npm run storybook

Releasing

Please see the documentation under the doc folder.

Publish to npm

Use np for an interactive walkthrough with validation and test running

$ np

Maintaining

🥾 This library was bootstrapped with TSDX

TODO: Doucment responsible teams/people and a process

FAQs

Package last updated on 07 Nov 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc