// @flow import React from 'react'; import { FormField, FormFieldPrice } from 'component/common/form'; type Props = { contentIsFree: boolean, fee: Fee, disabled: boolean, updatePublishForm: ({}) => void, }; function PublishPrice(props: Props) { const { contentIsFree, fee, updatePublishForm, disabled } = props; return (
updatePublishForm({ contentIsFree: true })} /> updatePublishForm({ contentIsFree: false })} /> {!contentIsFree && ( updatePublishForm({ fee: newFee })} /> )} {fee && fee.currency !== 'LBC' && (

{__( 'All content fees are charged in LBC. For non-LBC payment methods, the number of credits charged will be adjusted based on the value of LBRY credits at the time of purchase.' )}

)}
); } export default PublishPrice;