@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
39 lines (24 loc) • 717 B
Markdown
title: Popover 气泡卡片
nav:
title: 组件
path: /component
group:
title: 反馈组件
path: /feedback
order: 2
# Popover 气泡卡片
> 使用 [react-native-popover-view](https://github.com/SteffeyDev/react-native-popover-view) 实现。
点击元素,弹出气泡式的卡片浮层。
## 何时使用
当目标元素有进一步的描述和相关操作时,可以收纳到卡片中,根据用户的操作行为进行展现。
## 代码演示
<code src="./__fixtures__/basic.tsx"></code>
## API
### Popover
<API hideTitle src="./popover.tsx"></API>
### Popover.Item
<API hideTitle src="./popover-item.tsx"></API>
### Popover.Text
<API hideTitle src="./popover-text.tsx"></API>