sforkowany z mirror/soapbox
Improve UX
rodzic
2a29a050a6
commit
e0e1abc5c9
|
@ -186,25 +186,27 @@ const PollForm = (props: IPollForm) => {
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
<HStack alignItems='center' justifyContent='between'>
|
<button onClick={handleToggleMultiple} className='text-left'>
|
||||||
<Stack>
|
<HStack alignItems='center' justifyContent='between'>
|
||||||
<Text size='lg' weight='medium'>
|
<Stack>
|
||||||
{intl.formatMessage(messages.multiSelect)}
|
<Text weight='medium'>
|
||||||
</Text>
|
{intl.formatMessage(messages.multiSelect)}
|
||||||
|
</Text>
|
||||||
|
|
||||||
<Text theme='muted'>
|
<Text theme='muted' size='sm'>
|
||||||
{intl.formatMessage(messages.multiSelectDetail)}
|
{intl.formatMessage(messages.multiSelectDetail)}
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Toggle checked={isMultiple} onChange={handleToggleMultiple} />
|
<Toggle checked={isMultiple} onChange={handleToggleMultiple} />
|
||||||
</HStack>
|
</HStack>
|
||||||
|
</button>
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
{/* Duration */}
|
{/* Duration */}
|
||||||
<Stack space={2}>
|
<Stack space={2}>
|
||||||
<Text size='lg' weight='medium'>
|
<Text weight='medium'>
|
||||||
{intl.formatMessage(messages.pollDuration)}
|
{intl.formatMessage(messages.pollDuration)}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue