@dfeidao/fd-m000021
TypeScript icon, indicating that this package has built-in type declarations

4.6.201908221114 • Public • Published

ios刘海屏遮挡

https://dfeidao.gitee.io/widgets-mobile/

Installation

yarn add --dev @dfeidao/fd-m000000

这个控件需要在tpl的最外层使用

当参数forceInset不填时

示例

当参数forceInset的top为never时

示例

当参数forceInset的bottom为never时

示例

import SafeAreaView from '@dfeidao/fd-m000021';
import React, { Component } from 'react';
import { Text, View } from 'react-native';
export default function tpl(a: <T>(action: string, ...args: unknown[]) => ((ev: BaseSyntheticEvent<T>) => void), s: (...class_names: string[]) => {}, d: (d: string) => {}) {
	return (<SafeAreaView forceInset={{ top: 'never' }}>
		<View>
			<Text>111</Text>
		</View>
	</SafeAreaView>);
}

Package Sidebar

Install

npm i @dfeidao/fd-m000021

Weekly Downloads

3

Version

4.6.201908221114

License

MIT

Unpacked Size

3.12 kB

Total Files

6

Last publish

Collaborators

  • taoqf