import { Motion } from "@legendapp/motion"; import { Fonts, Palette, Style } from "../styles"; const Badge = ({ count = 0, size = 20, customContent = null, backgroundColor = null, } = {}) => { if (!count && !customContent) { return null; } return ( {customContent ? ( customContent() ) : ( {count} )} ); }; export default Badge;