Rocket.Chat.ReactNative/app/containers/Status/definition.ts

15 lines
329 B
TypeScript

import { TextProps } from 'react-native';
import { TUserStatus } from '../../definitions';
export interface IStatus extends TextProps {
id: string;
size: number;
status?: TUserStatus | null;
}
export interface IStatusComponentProps extends Omit<IStatus, 'id' | 'size' | 'status'> {
size?: number;
status?: TUserStatus;
}