{items.map((option, index) => {
if ('type' in option && option.type === 'divider') {
return
;
}
if ('type' in option && option.type === 'section') {
return
{option.title && {option.title}}
{option.items.map(renderItem)}
;
}
return renderItem(option, index);
})}
;
}
MenuBottomSheetActionList.displayName = 'MenuBottomSheetActionList';