Skip to content

jasonHzq/react-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-doc

when you write a API guide to people, why not let people try themself !

demo

install

npm i --save react-doc

usage

const code = `
  const Todo = function(props) {
  ...
`;

<Doc code={code} />

API

name type default description
backCode string '' the code not show in the editor
code string '' the code show in the editor
debounceWaitTime number 500 the code compiling debounce time
showGutter bool true show the row number

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published