Skip to content

Commit

Permalink
fix: demo of picker
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 committed Mar 20, 2019
1 parent 6e06c4b commit 4a08089
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/picker/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { district } from 'antd-mobile-demo-data';
import React from 'react';
import { Text, TouchableOpacity, View } from 'react-native';
import { List, Picker, Provider } from '@ant-design/react-native';
const data = require('./data.json');
const data = require('@bang88/china-city-data');
const CustomChildren = props => (
<TouchableOpacity onPress={props.onPress}>
<View
Expand Down
18 changes: 12 additions & 6 deletions components/picker/demo/basic.tsx

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site/desktop/src/template/Content/Sandbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ rootTag: document.getElementById("root")
'react-dom': '^16.6.0',
'react-native-web': '^0.11.0',
'antd-mobile-demo-data': '^0.2.0',
'@bang88/china-city-data': '^1.0.0',
},
browserslist: [
'>0.2%',
Expand Down

0 comments on commit 4a08089

Please sign in to comment.