// @flow import * as MODALS from 'constants/modal_types'; import * as ICONS from 'constants/icons'; import React from 'react'; import classnames from 'classnames'; import Button from 'component/button'; import Tooltip from 'component/common/tooltip'; type Props = { uri: string, fileAction?: boolean, // redux disableSupport: boolean, isRepost?: boolean, doOpenModal: (id: string, {}) => void, }; export default function ClaimSupportButton(props: Props) { const { uri, fileAction, isRepost, disableSupport, doOpenModal } = props; return disableSupport ? null : (