@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
18 lines (17 loc) • 618 B
TypeScript
import type { ViewStyle } from 'react-native';
import type { ThemeVarType } from '../theme';
import type { PopupPosition } from './interface';
export declare const createStyles: (themeVar: ThemeVarType) => {
popup: {
position: "relative";
backgroundColor: string;
overflow: "hidden";
height: number;
};
popup_active: {
position: "absolute";
height: string;
};
};
export declare const getBorderRadius: (themeVar: ThemeVarType, position: PopupPosition, round: boolean) => ViewStyle;
export declare const PopupPositionMap: Record<PopupPosition, ViewStyle>;