Getting Started

Components

Themes

Please understand this website is built in react, the components are in react native. There may be slight differences!

Popover

A popover when long pressed(optimized with screen width and height)

Long press on this box!
Example and actual code have slight difference. RN version is more optimized:)
1
Install by running this command!
npx uni-ui-kit install popover
2
Import the component!
import Popover from '../lib/ui/popover';
Properties table
animationDuration?
number
Total time for the box to animate
backdrop?
backdrop
Backdrop color and opacity
ParentView
React.ReactNode
Parent box
PopOverView
React.ReactNode
Popover box
Library data types
backdrop
{ color: string, opacity: string }
Backdrop color and opacity(0-1) for the modal and drawer.