File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
packages/react-vant/src/components/overlay Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,14 @@ export default () => {
5858 < Button type= " primary" onClick= {() => setVisible (true )}>
5959 嵌入内容
6060 < / Button>
61- < Overlay visible= {visible} onClick= {() => setVisible (false )}>
62- < div
63- style= {{
64- height: ' 100%' ,
65- display: ' flex' ,
66- alignItems: ' center' ,
67- justifyContent: ' center' ,
68- }}
69- >
70- < div style= {{ width: 120 , height: 120 , backgroundColor: ' #fff' , borderRadius: 4 }} / >
71- < / div>
61+ < Overlay visible= {visible} onClick= {() => setVisible (false )}
62+ style= {{
63+ height: ' 100%' ,
64+ display: ' flex' ,
65+ alignItems: ' center' ,
66+ justifyContent: ' center' ,
67+ }}>
68+ < div style= {{ width: 120 , height: 120 , backgroundColor: ' #fff' , borderRadius: 4 }} / >
7269 < / Overlay>
7370 < / >
7471 );
You can’t perform that action at this time.
0 commit comments