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: React.ReactNode | ((props: any) => React.ReactNode), options?: withBadgeOptions) => (WrappedComponent: React.ComponentType<any>) => React.ComponentType;
|
13 | export default withBadge;
|