I'm looking at the options for customise fluent UI dropdown, based on the doc there are 4 options: https://developer.microsoft.com/en-us/fluentui#/controls/web/dropdown
<Dropdown
placeholder="Select an option"
label="Custom example"
ariaLabel="Custom dropdown example"
onRenderPlaceholder={onRenderPlaceholder}
onRenderTitle={onRenderTitle}
onRenderOption={onRenderOption}
onRenderCaretDown={onRenderCaretDown}
styles={dropdownStyles}
options={exampleOptions}
/>
- onRenderPlaceholder
- onRenderTitle
- onRenderOption
- onRenderCaretDown
But these options are not really close to my requirements, I want to customise the group header and dropdown panel with extra buttons.
Based on the defnition in the code (IDropdownProps) there are also some exposed custom rendering are not in the docs, just curiouse is there any sample use case for following custom renderings.
- onRenderItem
- onRenderList
- onRenderContainer