File tree Expand file tree Collapse file tree 13 files changed +37
-63
lines changed Expand file tree Collapse file tree 13 files changed +37
-63
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ import { Divider } from 'uiw';
22
33export default function ( props ) {
44 const { path } = props ;
5- const url = / ^ h t t p / . test ( path || '' ) ? path : `https://github.com/uiwjs/react-native-uiw/edit/master/${ path } ` ;
5+ const url = / ^ h t t p / . test ( path || '' )
6+ ? path
7+ : `https://github.com/uiwjs/react-native-uiw/edit/master/${ path ?. replace ( / ^ \/ / , '' ) } ` ;
68 return (
79 < div style = { { paddingBlock : 20 } } >
8- { url && (
10+ { path && url && (
911 < a href = { url } target = "_blank" rel = "noopener noreferrer" style = { { color : '#333' } } >
1012 在Github上编辑本页!
1113 </ a >
Original file line number Diff line number Diff line change @@ -7,5 +7,7 @@ const transformImageUri = (url: string) => {
77 return urlAddr ;
88} ;
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => (
11+ < Preview { ...md } transformImageUri = { transformImageUri } path = "website/src/pages/docs/app-store/android/README.md" />
12+ ) ;
1113export default DEMO ;
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ const transformImageUri = (url: string) => {
77 return urlAddr
88}
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } path = "website/src/pages/docs/app-store/ios/README.md" /> ;
1111export default DEMO ;
Original file line number Diff line number Diff line change 66严格遵循 [ ` Semantic Versioning 2.0.0 ` ] ( http://semver.org/lang/zh-CN/ ) 语义化版本规范。
77
88Github [ ` 更新日志 ` ] ( https://github.com/uiwjs/react-native-uiw/releases )
9-
10- ## ` v3.0.3 `
11-
12- - Presets Updates
13- - 组件性能优化
14- - 统一 ` ios ` 以及 ` android ` 组件差异
15- - 🚧 减少第三方依赖
16- - 即将删除组件 ~~ ` SelectCascader ` ~~ <!-- rehype:style=color: #e00000;-->
17- - 即将删除依赖 ~~ ` @react-native-picker/picker ` ~~ <!-- rehype:style=color: #e00000;-->
18- - New Components
19- - 🌟 ` Calendar ` 日历
20- - 🌟 ` ScreenRoot ` 自定义导航栏
21- - 🌟 ` DragDrawer ` 拖曳抽屉
22- - 🌟 ` TreeSelect ` 级联选择器
23- - 🌟 ` RNText ` 字体文本
24- - Components Change
25- - ` Radio ` 新增选中颜色
26- - 🌟 add ` borderColor `
27- - 🌟 add ` checkedColor `
28- - ` Card ` 新增自定选中状态
29- - 🌟 add ` selectedStyle `
30- - ` Rating ` 新增只读功能 & 自定义每项的提示信息
31- - 🌟 add ` tooltips `
32- - 🌟 add ` tooltipsText `
33- - 🌟 add ` disabled `
34- - ` Timeline ` 新增自定义图标
35- - 🚧 ~~ ` icon?:IconsProps ` ~~ <!-- rehype:style=color: #e00000;--> => ` icon?: IconsName | React.ReactElement | React.ReactNode `
36- - 🌟 add ` size `
37- - 🌟 add ` color `
38- - ` Pagination ` 新增简洁版本
39- - 🌟 add ` simple `
40- - 🐞 ` NoticeBar ` 解决 NoticeBar首次渲染报错问题
41- - 🐞 ` Modal ` 解决 Modal弹出动画底层延迟收起问题
42- - 🐞 ` SwipeAction ` 解决 SwipeAction key报错
43- - Dependencies Update
44- - 💄 ~~ ` react-native-gesture-handler@1.10.3 ` ~~ -> ` react-native-gesture-handler@2.0.0 `
45-
46- ## ` v3.0.2 `
47-
48- - New Components
49- - 🌟 ` RnText ` 组件
50- - Components Change
51- - ` Picker ` ~~ ` <Picker key="label" /> ` ~~ <!-- rehype:style=color: #e00000;--> => ` <Picker rowKey="label" /> `
52- - ` DragDrawer ` 自定义抽屉样式
53- - add ` style ` props.
54- - add ` icon ` props.
55- - ` DragDrawer `
56- - Dependencies Update
57- - update dependency color to v4.0.2
58- - update dependency react-native-gesture-handler to v2.0.0
Original file line number Diff line number Diff line change 11import Preview from 'src/component/Preview' ;
22import md from './README.md' ;
33
4- const DEMO = ( ) => < Preview { ...md } /> ;
4+ const DEMO = ( ) => < Preview { ...md } path = "/website/src/pages/docs/changelog/README.md" /> ;
55export default DEMO ;
Original file line number Diff line number Diff line change @@ -7,5 +7,11 @@ const transformImageUri = (url: string) => {
77 return urlAddr ;
88} ;
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => (
11+ < Preview
12+ { ...md }
13+ transformImageUri = { transformImageUri }
14+ path = "website/src/pages/docs/development/components/README.md"
15+ />
16+ ) ;
1117export default DEMO ;
Original file line number Diff line number Diff line change 11import Preview from 'src/component/Preview' ;
22import md from './README.md' ;
33
4- const DEMO = ( ) => < Preview { ...md } /> ;
4+ const DEMO = ( ) => < Preview { ...md } path = "website/src/pages/docs/development/document/README.md" /> ;
55export default DEMO ;
Original file line number Diff line number Diff line change @@ -7,5 +7,11 @@ const transformImageUri = (url: string) => {
77 return urlAddr ;
88} ;
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => (
11+ < Preview
12+ { ...md }
13+ transformImageUri = { transformImageUri }
14+ path = "website/src/pages/docs/environment-setup/android-windows/README.md"
15+ />
16+ ) ;
1117export default DEMO ;
Original file line number Diff line number Diff line change @@ -7,5 +7,11 @@ const transformImageUri = (url: string) => {
77 return urlAddr ;
88} ;
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => (
11+ < Preview
12+ { ...md }
13+ transformImageUri = { transformImageUri }
14+ path = "website/src/pages/docs/environment-setup/android/README.md"
15+ />
16+ ) ;
1117export default DEMO ;
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ const transformImageUri = (url: string) => {
77 return urlAddr
88}
99
10- const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } /> ;
10+ const DEMO = ( ) => < Preview { ...md } transformImageUri = { transformImageUri } path = "website/src/pages/docs/environment-setup/ios/README.md" /> ;
1111export default DEMO ;
You can’t perform that action at this time.
0 commit comments