Skip to content

origami-ui/react-origami-lightbox

Repository files navigation

Lightbox for Origami UI

Demo http://origami-ui.org/react-origami-lightbox/

Usage

npm i --save react-origami-lightbox
require 'react-origami-lightbox'
require 'react-origami-lightbox/src/lightbox.css'

Props:

  • show bool
  • alias string
  • onClose func

also props.children.

Bash Alias

# webpack-workflow
export wf=/Users/chen/repo/mvc-works/webpack-workflow/
alias workflow="
cp $wf/gulpfile.* .;
cp $wf/package.json .;
cp $wf/webpack.* .;
cp $wf/template.cirru .;
cp $wf/.gitignore .;
cp $wf/README.md .;
mkdir src/;
touch src/main.cirru;
git init;
"

Usage

  • Development
npm i
gulp html
webpack-dev-server --hot
  • Production
gulp buld
gulp rsync

License

MIT