1 | import React from 'react';
|
2 | import { StyleProp, ViewStyle } from 'react-native';
|
3 | import { BadgeProps } from './Badge';
|
4 | declare type withBadgeOptions = {
|
5 | bottom?: number;
|
6 | left?: number;
|
7 | right?: number;
|
8 | top?: number;
|
9 | hidden?: boolean;
|
10 | containerStyle?: StyleProp<ViewStyle>;
|
11 | } & BadgeProps;
|
12 | declare const withBadge: (value: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | ((props: any) => React.ReactNode), options?: withBadgeOptions) => (WrappedComponent: React.ComponentType<any>) => React.ComponentType;
|
13 | export default withBadge;
|