lbry-desktop/ui/component/claimEffectiveAmount/view.jsx

20 lines
291 B
React
Raw Normal View History

// @flow
import React from 'react';
type Props = {
uri: string,
claim: ?Claim,
};
function ClaimRepostAuthor(props: Props) {
const { claim } = props;
if (!claim) {
return null;
}
2020-02-12 17:00:17 +01:00
return <span>{claim.meta.effective_amount} LBC</span>;
}
export default ClaimRepostAuthor;