Skip to content

Latest commit

 

History

History
72 lines (45 loc) · 1.25 KB

README.md

File metadata and controls

72 lines (45 loc) · 1.25 KB

Doc Scripts Examples

This is readme

Cli Usage

npm run start:doc

npm run build:doc

Code Highlights

support js/html/css/bash

JSX Code Runnable

export default ()=>{
  return <div>
    This is JSX code, and it is runnable
  </div>
}

React Component Props Table

PropertyTypeRequiredDefaultDescription
labelStringfalse-Label for the button.
onClickFuncfalse-Triggered when clicked on the button.

Javascript Code Highlights

export default ()=>{
  return <div>
    This is JSX code, and it is runnable
  </div>
}

HTML Code Highlights

<div>
  <div>This is HTML Code</div>
</div>

CSS Code Highlights

.sss{
   background:#3333;
}

Bash Code Highlights

npm run start:doc