Socket
Book a DemoInstallSign in
Socket

@instructure/ui-source-code-editor

Package Overview
Dependencies
Maintainers
22
Versions
795
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-source-code-editor

A UI component library made by Instructure Inc.

Source
npmnpm
Version
8.27.1-snapshot-17
Version published
Weekly downloads
6.1K
4.17%
Maintainers
22
Weekly downloads
 
Created
Source

category: packages

ui-source-code-editor

npm  MIT License  Code of Conduct

A code editor component.

Components

The ui-source-code-editor package contains the following:

  • SourceCodeEditor

Installation

yarn add @instructure/ui-source-code-editor

Usage

import React from 'react'
import { SourceCodeEditor } from '@instructure/ui-source-code-editor'

const MyCodeEditor = () => {
  return (
    <SourceCodeEditor
      label="code editor"
      defaultValue='{"foo": "bar"}'
      language="javascript"
      readOnly
    />
  )
}

FAQs

Package last updated on 29 Aug 2022

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