Skip to content

nojsja/react-nojsja

Repository files navigation

react-nojsja


react code of mine.

commands

  • 【npm run build-dll】 -- dll the static library with webpack.
  • 【npm run start】 -- start webpack-dev-server.
  • 【npm run build】 -- compile and package the frontend resources.

Contents

  1. components - react component
  2. snippets - code snippets
  3. documents - doc

components

For easy viewing, components dir is placed in the root dir.

  • AudioPreview - HTML5 audio player
  • CheckedTable - A multi-selection table component based on Antd.
  • EditableTree - A editable tree component based on Antd.
  • InfiniteScroll - A wrapper component support infinite scroll based on Antd.
  • ModalWindow - A simple modal window component
  • ProgressBar - A progressbar component.
  • RightClickMenu - A right-click view component based on semantic.
  • SourceTree - A configurable and checkable tree component based on semantic.

snippets

some snippets of js/html/css.

Js

  • bufferToUrl - Convert media binary data into previewable files

Css

  • scrollbar-define - Customized browser scrollbar(webkit)
  • scrollbar-hidden - Style to hide scrollbar(兼容)
  • text-overflow - Style for text-overflow

Less

  • public - Snippets

documents

  • react-test - A document for automated testing