The image below demonstrates the current GUI, i simply wish to place the icon to the left of the 'Language' menu instead of the current position (right)
Current Code
</Dropdown.Item>
<Dropdown text="Language" icon="angle down" pointing="right"
options={[
{ text: 'English', value: 'en', flag: 'gb'},
{ text: 'Svenska', value: 'se', flag: 'se' },
{ text: 'Dansk', value: 'de', flag: 'de' },
{ text: 'Norsk', value: 'no', flag: 'no' },
]}
/>
Any suggestions on how i could locate the "angle down" icon to the left of the "language" text would be much appreciated.
You could use the
trigger
prop in stead oftext
as per the docs and remove the default icon.Also note that you have a typo for the Danish element ("de" where it should be "dk").