diff --git a/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js b/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js index 0039ba52f..35a340565 100644 --- a/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js +++ b/app/javascript/mastodon/features/compose/components/advanced_options_dropdown.js @@ -1,6 +1,11 @@ import React from 'react'; import IconButton from '../../../components/icon_button'; +const iconStyle = { + height: null, + lineHeight: '27px', +}; + export default class AdvancedOptionsDropdown extends React.PureComponent { onToggleDropdown = () => { this.setState({ open: !this.state.open }); @@ -32,18 +37,31 @@ export default class AdvancedOptionsDropdown extends React.PureComponent { render () { const { open } = this.state; - const dropdownItems =
-
test
-
; + + const options = [ + { icon: 'wifi', shortText: 'Local-only', longText: 'bla' }, + ]; + const optionElems = options.map((option) => { + return
+
+ +
+
+ {option.shortText} + {option.longText} +
+
; + }); return
- {open && dropdownItems} + {optionElems}
; }