Skip to main content

BadgeIndicator

Reusable BadgeIndicator component

Example

import {
BadgeIndicator,
IIndicatorTypes,
View,
} from '@lad-tech/mobydick-core';

export const BadgeWidget = () => {

return (
<View>
<BadgeIndicator type={IIndicatorTypes.primary} />
<BadgeIndicator type={IIndicatorTypes.secondary} style={{right: 0}} />
</View>
);
};

Props

type

TYPE
IIndicatorTypes

Predefined type for badge indicator

style

TYPE
ViewStyle

Custom styles for badge indicator in order to set position