// @flow import React from 'react'; import { FormField, FormFieldPrice } from 'component/common/form'; import Card from 'component/common/card'; type Props = { contentIsFree: boolean, fee: Fee, disabled: boolean, updatePublishForm: ({}) => void, }; function PublishPrice(props: Props) { const { contentIsFree, fee, updatePublishForm, disabled } = props; return ( <> {__('Price')} updatePublishForm({ contentIsFree: true })} /> updatePublishForm({ contentIsFree: false })} /> {!contentIsFree && ( updatePublishForm({ fee: newFee })} /> )} {fee && fee.currency !== 'LBC' && ( {__( 'All content fees are charged in LBRY Credits. For alternative payment methods, the number of LBRY Credits charged will be adjusted based on the value of LBRY Credits at the time of purchase.' )} )} } /> > ); } export default PublishPrice;
{__( 'All content fees are charged in LBRY Credits. For alternative payment methods, the number of LBRY Credits charged will be adjusted based on the value of LBRY Credits at the time of purchase.' )}