SafeArea 安全区

刘海屏安全区域组件

代码示例

基本使用

属性

属性类型必填默认值说明
position'bottom' | 'top' | 'both''both'安全区位置
classNamestring''类名

样式类

类名说明
amd-safe-area整体样式
amd-safe-area-top顶部安全区域
amd-safe-area-bottom底部安全区域