@tarojsx/ui
Version:
We reinvents the UI for Taro3+
40 lines (24 loc) • 987 B
Markdown
id: "_customtabbar_"
title: "CustomTabBar"
sidebar_label: "CustomTabBar"
## Index
### Interfaces
* [CustomTabBarProps](../interfaces/_customtabbar_.customtabbarprops.md)
### Functions
* [CustomTabBar](_customtabbar_.md#const-customtabbar)
## Functions
### `Const` CustomTabBar
▸ **CustomTabBar**(`props`: [CustomTabBarProps](../interfaces/_customtabbar_.customtabbarprops.md) & object): *ReactElement‹any, string | function | object›*
*Defined in [src/CustomTabBar.tsx:75](https://github.com/tarojsx/ui/blob/v0.11.0/src/CustomTabBar.tsx#L75)*
自定义 TabBar Render Props 组件, 提供用于渲染自定义 TabBar 所需的属性.
支持 API:
* `Taro.hideTabBar()`
* `Taro.showTabBar()`
**`since`** 2.5.0 微信开发者工具调试基础库 >= 2.5.2
**Parameters:**
Name | Type |
------ | ------ |
`props` | [CustomTabBarProps](../interfaces/_customtabbar_.customtabbarprops.md) & object |
**Returns:** *ReactElement‹any, string | function | object›*