From 7b6e08c1eb963a4ab9f79124e512dcbf47b5e983 Mon Sep 17 00:00:00 2001 From: ZZW <5237428+zhang_zhenwei@user.noreply.gitee.com> Date: Wed, 4 Mar 2026 10:47:51 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9NativeBase=E4=B8=AD?= =?UTF-8?q?=E8=8B=B1=E6=96=87=E6=8C=87=E5=AF=BC=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzhenwei --- en/NativeBase.md | 4 ++++ zh-cn/NativeBase.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/en/NativeBase.md b/en/NativeBase.md index dc6ab155..7fe6bb56 100644 --- a/en/NativeBase.md +++ b/en/NativeBase.md @@ -131,6 +131,10 @@ The following component attributes are currently supported: **Center**: Center aligns its contents to the center within itself. It is a layout component. [Center implements View](https://reactnative.dev/docs/view#props) +| Name | Description | Type | Required | Platform | HarmonyOS Support | +| :-------: | :----------------------------------------------------------: | :-----: | :------: | :------: | :---------------: | +| focusable | Use a non-touch input device (such as ahardware keyboard) to focus on this view | Boolean | No | Android | No | + **Container**: The Container restricts a content's width according to current breakpoint, while keeping the size fluid. [The container implements the functions of the box. Therefore, all attributes of the box can be transferred to the container.] diff --git a/zh-cn/NativeBase.md b/zh-cn/NativeBase.md index 9d20d5ea..47f675c8 100644 --- a/zh-cn/NativeBase.md +++ b/zh-cn/NativeBase.md @@ -145,6 +145,10 @@ const styles = StyleSheet.create({ **Center**: 布局组件中心对齐 [继承了React Native中View参数](https://reactnative.dev/docs/view#props) +| Name | Description | Type | Required | Platform | HarmonyOS Support | +| :-------: | :------------------------------------------------------: | :-----: | :------: | :------: | :---------------: | +| focusable | 使用非触控输入设备(例如通过硬件键盘)来对该视图进行聚焦 | Boolean | No | Android | No | + **Container**: 容器根据当前断点限制内容的宽度,同时保持尺寸的流动性。 [Container实现了Box的功能,所以所有Box的属性都能传给Container] -- Gitee