Skip to content

Commit

Permalink
添加例子
Browse files Browse the repository at this point in the history
  • Loading branch information
lingxiaoyi committed Sep 23, 2019
1 parent d299c57 commit 45f47c4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 390 deletions.
4 changes: 3 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import ReactMarkdown from 'react-markdown';
import json from 'format-json';
import { optionArr, newOptionArr } from './optionArr';
import './App.scss';
import exampleData from './example/example';
import exampleData from './example/index';
console.log('exampleData', exampleData);
//import importCodeJson from './importCodeJson';
//var FontFaceObserver = require('fontfaceobserver');
const GD = require('./gradient.js');
Expand Down Expand Up @@ -1275,6 +1276,7 @@ ${json.plain(this.finallObj).replace(/px/g, 'px')}
</div>
<div className='example'>
{exampleData.map((item, i) => {
console.log('item', item);
return (
<div
className='li'
Expand Down
Loading

0 comments on commit 45f47c4

Please sign in to comment.