@uiw/react-native
Version:
UIW for React Native
23 lines (22 loc) • 601 B
TypeScript
import React from 'react';
import { ViewProps } from 'react-native';
import { xLocation } from './utils';
interface CloudProps extends ViewProps {
/** 显示的文本主体 */
title: React.ReactNode;
/** 三角是否在下面 */
isDown: boolean;
/** 三角形位置 */
triangle: number;
/** 排列方式 */
isStart: xLocation;
/** 颜色 */
backgroundColor?: string;
/** 圆角大小 */
borderRadius?: number;
}
export default class Cloud extends React.Component<CloudProps> {
constructor(props: CloudProps);
render(): JSX.Element;
}
export {};