Badge

Como utilizar

import { Badge } from '@superlogica/design-system-mobile'
import * as React from 'react';
import { View } from 'react-native';
import { Badge } from '@superlogica/design-system-mobile';
const YourApp = () => {
return (
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<Badge text="33" color="warning" fontColor="neutral950" />
</View>
)
}
export default YourApp;

Props

PropTipoDefaultDescrição
textstring" "Texto do componente
colorstringprimaryCor de background do componente
fontColorstringneutral0Cor do texto do componente
sizestringmdDefine o tamanho do componente (md ou lg)