@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
44 lines (35 loc) • 828 B
text/typescript
import type { ColorValue, ViewProps } from 'react-native'
import type { BottomBar } from './style'
export interface BottomBarProps extends ViewProps {
theme?: Partial<BottomBar>
/**
* 是否开启底部安全区适配
* @default true
*/
safeAreaInsetBottom?: boolean
/**
* 背景色
* @default bottom_bar_background_color
*/
backgroundColor?: ColorValue
/**
* 元素高度
* @default bottom_bar_height
*/
height?: number
/**
* 是否隐藏
* @default false
*/
hidden?: boolean
/**
* 当软键盘弹出来的时候不渲染,BottomBar 固定在底部的布局中,在 Android 机器上 BottomBar 会被软键盘挤上去
* @default true
*/
keyboardShowNotRender?: boolean
/**
* 是否显示分割线
* @default true
*/
divider?: boolean
}