@propellerads/code-viewer
v1.7.0
Published
![size](https://img.shields.io/bundlephobia/min/@propellerads/code-viewer.svg) ![](https://img.shields.io/npm/v/@propellerads/code-viewer.svg?style=flat-square)
Downloads
1,007
Keywords
Readme
Codeviawer
Installation
yarn add @propellerads/code-viewer
ornpm install @propellerads/code-viewer -S
How to use
import CodeViewer from '@propellerads/code-viewer';
- And render ```<CodeViewer copyingEnabled elementId="some-id" language="js"
{const suggestions = [{ id: 0, title: 'One' }, { id: 1, title: 'Two' }]} ```