You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
515 B

import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { BadgeProps } from './Badge';
declare type withBadgeOptions = {
bottom?: number;
left?: number;
right?: number;
top?: number;
hidden?: boolean;
containerStyle?: StyleProp<ViewStyle>;
} & BadgeProps;
export declare const withBadge: (value: React.ReactNode | ((props: any) => React.ReactNode), options?: withBadgeOptions) => (WrappedComponent: React.ComponentType<any>) => React.ComponentType;
export {};