Skip to content

Commit 83b6658

Browse files
committed
docs(SpeedDial):修复文档遮挡,无法点击问题
1 parent c0c0fb4 commit 83b6658

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/core/src/SpeedDial/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ import { View, Text, Dimensions } from 'react-native';
1717

1818
function Demo() {
1919
return (
20-
<View style={{ height: 800, background: '#ddd' }}>
20+
<View style={{ height: 180, background: '#ddd' }}>
2121
<SpeedDial
2222
onOpen={()=>console.log('onOpen2')}
2323
onClose={()=>console.log('onClose')}
24+
bottom={750}
2425
children={[
2526
{
2627
icon: 'plus',
@@ -56,11 +57,12 @@ import { View, Text, Dimensions } from 'react-native';
5657

5758
function Demo() {
5859
return (
59-
<View style={{ height: 800, background: '#ddd' }}>
60+
<View style={{ height: 180, background: '#ddd' }}>
6061
<SpeedDial
6162
transitionDuration={2000}
6263
onOpen={()=>console.log('onOpen')}
6364
onClose={()=>console.log('onClose')}
65+
bottom={750}
6466
children={[
6567
{
6668
icon: 'plus',

0 commit comments

Comments
 (0)