From bc67588afd5a589e8bd0ad94bffc3ab68019ce60 Mon Sep 17 00:00:00 2001 From: zhouzheng Date: Thu, 2 Mar 2023 09:32:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(Input):=20=E6=96=87=E5=AD=97=E5=92=8C?= =?UTF-8?q?=E5=89=8D=E7=BC=80=E6=B2=A1=E5=AF=B9=E9=BD=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/CardCollapse/README.md | 3 --- packages/core/src/Input/README.md | 4 ---- packages/core/src/Input/index.tsx | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/packages/core/src/CardCollapse/README.md b/packages/core/src/CardCollapse/README.md index f38e5998d..19230ef7e 100644 --- a/packages/core/src/CardCollapse/README.md +++ b/packages/core/src/CardCollapse/README.md @@ -31,7 +31,6 @@ function Demo() { } return ( -
-
-
- 禁用输入框 } @@ -73,7 +72,6 @@ import { Input } from '@uiw/react-native'; class BasicInputExample extends Component { render() { return - 禁用输入框 } @@ -90,7 +88,6 @@ import { Input } from '@uiw/react-native'; const Demo = () => { return - 清除按钮 } @@ -107,7 +104,6 @@ import { Input } from '@uiw/react-native'; const Demo = () => { return - 每次输入清除内容 } diff --git a/packages/core/src/Input/index.tsx b/packages/core/src/Input/index.tsx index 1a57353ff..6e4fbdfc2 100644 --- a/packages/core/src/Input/index.tsx +++ b/packages/core/src/Input/index.tsx @@ -190,7 +190,7 @@ const inputStyles = StyleSheet.create({ color: '#000', backgroundColor: 'transparent', paddingVertical: 0, - paddingTop: 5, + paddingTop: 0, }, always: { borderWidth: 1,