Skip to content

Commit 6b853e6

Browse files
author
rulishu
committed
fix: RN组件底部文字显示
1 parent a131267 commit 6b853e6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

website/src/component/Preview/Footer.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ export default function (props) {
77
: `https://github.com/uiwjs/react-native-uiw/edit/master/${path?.replace(/^\//, '')}`;
88
return (
99
<div style={{ paddingBlock: 20 }}>
10-
{path && url && <a href={url} target="_blank" rel="noopener noreferrer" style={{ color: '#333' }}></a>}
10+
{path && url && (
11+
<a href={url} target="_blank" rel="noopener noreferrer" style={{ color: '#333' }}>
12+
在Github上编辑本页!
13+
</a>
14+
)}
1115
<Divider type="vertical" />
1216
<a
1317
target="_blank"
1418
rel="noopener noreferrer"
1519
href="https://github.com/uiwjs/react-native-uiw/issues"
1620
style={{ color: '#333' }}
17-
></a>
21+
>
22+
提交bug
23+
</a>
1824
</div>
1925
);
2026
}

0 commit comments

Comments
 (0)