add optional label to option form fields

This commit is contained in:
keyan 2022-04-23 18:22:20 -05:00
parent 188230c37c
commit 6b12969c8b

View File

@ -34,13 +34,13 @@ export default function AdvPostForm () {
body={ body={
<> <>
<Input <Input
label='boost' label={<>boost <small className='text-muted ml-2'>optional</small></>}
name='boost' name='boost'
hint={<span className='text-muted'>ranks posts higher temporarily based on the amount</span>} hint={<span className='text-muted'>ranks posts higher temporarily based on the amount</span>}
append={<InputGroup.Text className='text-monospace'>sats</InputGroup.Text>} append={<InputGroup.Text className='text-monospace'>sats</InputGroup.Text>}
/> />
<Input <Input
label='forward sats to' label={<>forward sats to <small className='text-muted ml-2'>optional</small></>}
name='forward' name='forward'
hint={<span className='text-muted'>100% of sats will be sent to this user</span>} hint={<span className='text-muted'>100% of sats will be sent to this user</span>}
prepend=<InputGroup.Text>@</InputGroup.Text> prepend=<InputGroup.Text>@</InputGroup.Text>