// @flow import React from 'react'; import classnames from 'classnames'; type Props = { unseenCount: number, inline: boolean, }; export default function NotificationHeaderButton(props: Props) { const { unseenCount, inline = false } = props; if (unseenCount === 0) { return null; } return ( 9, })} > {unseenCount > 20 ? '20+' : unseenCount} ); }