refactor: migrate dropdowns from reach-ui (#2315)
This commit is contained in:
@@ -149,12 +149,8 @@ const NewNotePreferences: FunctionComponent<Props> = ({
|
||||
<div className="mt-3 text-mobile-menu-item md:text-menu-item">Note Type</div>
|
||||
<div className="mt-2">
|
||||
<Dropdown
|
||||
classNameOverride={{
|
||||
popover: 'z-modal',
|
||||
}}
|
||||
disabled={disabled}
|
||||
fullWidth={true}
|
||||
id="def-editor-dropdown"
|
||||
label="Select the default note type"
|
||||
items={editorItems}
|
||||
value={defaultEditorIdentifier}
|
||||
@@ -166,12 +162,8 @@ const NewNotePreferences: FunctionComponent<Props> = ({
|
||||
<div className="mt-3 text-mobile-menu-item md:text-menu-item">Title Format</div>
|
||||
<div className="mt-2">
|
||||
<Dropdown
|
||||
classNameOverride={{
|
||||
popover: 'z-modal',
|
||||
}}
|
||||
disabled={disabled}
|
||||
fullWidth={true}
|
||||
id="def-new-note-title-format"
|
||||
label="Select the default note type"
|
||||
items={NoteTitleFormatOptions}
|
||||
value={newNoteTitleFormat}
|
||||
|
||||
Reference in New Issue
Block a user