🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cf-component-code

Package Overview
Dependencies
Maintainers
23
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-code

Cloudflare Code Component

4.0.0
latest
npm
Version published
Weekly downloads
13
-75%
Maintainers
23
Weekly downloads
 
Created
Source

cf-component-code

Cloudflare Code Component

Installation

Installation with yarn is recommended


$ yarn add cf-component-code

Usage

import React from 'react';
import { Code, CodeBlock } from 'cf-component-code';

class CodeComponent extends React.Component {
  render() {
    return (
      <div>
        <p>
          Look at this <Code>inline code</Code>!
        </p>
        <CodeBlock>And this code block!</CodeBlock>
      </div>
    );
  }
}

export default CodeComponent;

FAQs

Package last updated on 08 May 2018

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