mao-rn-android-kit
Version:
为 React Native 开发 提供的一些Android原生模块/组件 (react native, CoordinatorLayout, AppBarLayout, TabLayout, NestedScrollView, PopupWindow)
39 lines (38 loc) • 1.29 kB
TypeScript
import * as React from 'react';
import { ViewProperties } from 'react-native';
export interface LayoutParams {
width?: number;
height?: number;
}
export declare const LayoutParams: {
width: React.Requireable<any>;
height: React.Requireable<any>;
};
export interface ViewGroupProperties extends ViewProperties {
layoutParams?: LayoutParams;
fitsSystemWindows?: boolean;
}
export declare const ViewGroupProperties: ({} & undefined & {
layoutParams: React.Requireable<any>;
fitsSystemWindows: React.Requireable<any>;
}) | ({} & React.ValidationMap<ViewProperties> & {
layoutParams: React.Requireable<any>;
fitsSystemWindows: React.Requireable<any>;
});
export interface AppBarLayoutParams extends LayoutParams {
scrollFlags?: number;
}
export interface AppBarViewProperties extends ViewGroupProperties {
layoutParams?: AppBarLayoutParams;
}
export declare const AppBarViewProperties: ({} & {} & undefined & {
layoutParams: React.Requireable<any>;
fitsSystemWindows: React.Requireable<any>;
} & {
layoutParams: React.Requireable<any>;
}) | ({} & {} & React.ValidationMap<ViewProperties> & {
layoutParams: React.Requireable<any>;
fitsSystemWindows: React.Requireable<any>;
} & {
layoutParams: React.Requireable<any>;
});