sforkowany z mirror/soapbox
Improve UX
rodzic
2a29a050a6
commit
e0e1abc5c9
|
@ -186,25 +186,27 @@ const PollForm = (props: IPollForm) => {
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
|
<button onClick={handleToggleMultiple} className='text-left'>
|
||||||
<HStack alignItems='center' justifyContent='between'>
|
<HStack alignItems='center' justifyContent='between'>
|
||||||
<Stack>
|
<Stack>
|
||||||
<Text size='lg' weight='medium'>
|
<Text weight='medium'>
|
||||||
{intl.formatMessage(messages.multiSelect)}
|
{intl.formatMessage(messages.multiSelect)}
|
||||||
</Text>
|
</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