Beta

Code Editor

A code editor component featuring syntax highlighting and animation.

Installation

Props

PropTypeDefault
code
string
-
lang
string
-
theme?
string
atom-dark
duration?
number
5
delay?
number
0
showLineNumbers?
boolean
false
header?
boolean
true
cursor?
boolean
false
startOnView?
boolean
false

On this page