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,